1. Ronald Oussoren
  2. modulegraph

Commits

b...@redivi.com  committed f41cc1b

default

  • Participants
  • Parent commits 7ec795b
  • Branches default
  • Tags modulegraph-0.7

Comments (0)

Files changed (1)

File modulegraph/modulegraph.py

View file
     domods = 0
     dodot = False
     addpath = []
-    exclude = []
+    excludes = []
     for o, a in opts:
         if o == '-d':
             debug = debug + 1
         if o == '-q':
             debug = 0
         if o == '-x':
-            exclude.append(a)
+            excludes.append(a)
         if o == '-g':
             dodot = True
 
     # Provide default arguments
     if not args:
-        script = "hello.py"
+        script = __file__
     else:
         script = args[0]