##// END OF EJS Templates
reformat previous commit
Matthias Bussonnier -
r26941:69dbfc1c
parent child
Show More
@@ -95,9 +95,9 def find_packages():
95 """
95 """
96 excludes = ['deathrow', 'quarantine']
96 excludes = ['deathrow', 'quarantine']
97 packages = []
97 packages = []
98 for directory, subdirs,files in os.walk('IPython'):
98 for directory, subdirs, files in os.walk("IPython"):
99 package = directory.replace(os.path.sep, '.')
99 package = directory.replace(os.path.sep, ".")
100 if any(package.startswith('IPython.'+exc) for exc in excludes):
100 if any(package.startswith("IPython." + exc) for exc in excludes):
101 # package is to be excluded (e.g. deathrow)
101 # package is to be excluded (e.g. deathrow)
102 continue
102 continue
103 if '__init__.py' not in files:
103 if '__init__.py' not in files:
General Comments 0
You need to be logged in to leave comments. Login now