Commits

anatoly techtonik committed ac8fd0a

fix bug - get filename argument from optparse, not from sys.argv[1]

Comments (0)

Files changed (1)

   if len(args) == 0:
     parser.print_help()
     sys.exit(-1)
-  filename = sys.argv[1]
+  filename = args[0]
 
   if opts.dump:
     root = read_ast(filename)