Browse Source

Remove broken function.

config_generator.has_argparse could not work as
`f` does not exist in scope. Furthermore, I suspect it is
probably a duplication accident, as it's very similar
to source_parser.has_argparse, which is the only one
used in the codebase.
pull/129/head
Christoph Buchner 9 years ago
parent
commit
cc2c095de8
1 changed files with 0 additions and 5 deletions
  1. 5
      gooey/python_bindings/config_generator.py

5
gooey/python_bindings/config_generator.py

@ -41,8 +41,3 @@ def create_from_parser(parser, source_path, **kwargs):
build_spec['manual_start'] = True
return build_spec
def has_argparse(module_path):
return any(['.parse_args(' in line.lower() for line in f.readlines()])
Loading…
Cancel
Save