eric5_api.py

changeset 3022
57179e4cdadd
parent 2997
7f0ef975da9e
child 3035
36e9f388958b
child 3058
0a02c433f52d
--- a/eric5_api.py	Mon Oct 14 20:08:19 2013 +0200
+++ b/eric5_api.py	Tue Oct 15 18:29:32 2013 +0200
@@ -107,7 +107,8 @@
     import getopt
 
     try:
-        opts, args = getopt.getopt(sys.argv[1:], "b:e:hl:o:pRrt:Vx:",
+        opts, args = getopt.getopt(
+            sys.argv[1:], "b:e:hl:o:pRrt:Vx:",
             ["base=", "eol=", "exclude=", "exclude-file=", "extension=",
              "help", "language=", "output=", "private", "recursive",
              "version", ])
@@ -195,8 +196,8 @@
         
         for arg in args:
             if os.path.isdir(arg):
-                if os.path.exists(os.path.join(arg,
-                        Utilities.joinext("__init__", ".py"))):
+                if os.path.exists(os.path.join(
+                        arg, Utilities.joinext("__init__", ".py"))):
                     basename = os.path.dirname(arg)
                     if arg == '.':
                         sys.stderr.write("The directory '.' is a package.\n")
@@ -250,7 +251,8 @@
                         continue
                     
                     try:
-                        module = Utilities.ModuleParser.readModule(file,
+                        module = Utilities.ModuleParser.readModule(
+                            file,
                             basename=basename, inpackage=inpackage)
                         apiGenerator = APIGenerator(module)
                         api = apiGenerator.genAPI(True, basePackage,

eric ide

mercurial