Permalink
Browse files

Removed useless __init__ check

  • Loading branch information...
1 parent 781b7ee commit 466d60d385396c1fb19759ec9e332abdfdf658cf @Ivesvdf committed Jul 5, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 py2uml.py
View
@@ -33,10 +33,6 @@ def processFiles(self,filenames):
def processFile(self,filename):
moduleName = filename.replace("./", "").replace(".py", "").replace("/", ".")
- if filename.find("__init__.py") >= 0:
- log("Ignoring __init__.py file")
- return
-
log("Processing file for module " + moduleName)
__import__(moduleName, locals(), globals())
self.processModule(sys.modules[moduleName])

0 comments on commit 466d60d

Please sign in to comment.