Commits

Thomas Kluyver committed fdbc961

Fix syntax in macdist

Comments (0)

Files changed (1)

         """
         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