Utilities/ClassBrowsers/__init__.py

changeset 2997
7f0ef975da9e
parent 2965
d133c7edd88a
child 3039
8dd0165d805d
child 3057
10516539f238
diff -r c6f16f1b9958 -r 7f0ef975da9e Utilities/ClassBrowsers/__init__.py
--- a/Utilities/ClassBrowsers/__init__.py	Tue Oct 08 19:52:11 2013 +0200
+++ b/Utilities/ClassBrowsers/__init__.py	Wed Oct 09 18:34:30 2013 +0200
@@ -131,9 +131,10 @@
     try:
         return imp.find_module(name, path)
     except ImportError:
-        if name.lower().endswith(tuple(Preferences.getPython("PythonExtensions") + \
-                                       Preferences.getPython("Python3Extensions"))) or \
-           isPyFile:
+        if name.lower().endswith(
+                tuple(Preferences.getPython("PythonExtensions") +
+                      Preferences.getPython("Python3Extensions"))) or \
+                isPyFile:
             for p in path:      # search in path
                 pathname = os.path.join(p, name)
                 if os.path.exists(pathname):

eric ide

mercurial