Commits

Thomas Kluyver committed d85eb54

Fix syntax properly this time.

  • Participants
  • Parent commits fdbc961
  • Branches macqt-syntaxfix

Comments (0)

Files changed (1)

cx_Freeze/macdist.py

         """
         if self.qt_menu_nib:
             return [self.qt_menu_nib]
-        elif any(n.startswith("PyQt4.QtCore" for n in os.listdir(self.binDir))):
+        elif any(n.startswith("PyQt4.QtCore") for n in os.listdir(self.binDir)):
             from PyQt4 import QtCore
-        elif any(n.startswith("PySide.QtCore" for n in os.listdir(self.binDir))):
+        elif any(n.startswith("PySide.QtCore") for n in os.listdir(self.binDir)):
             from PyQt4 import QtCore
         else:
             return None