def get_parser(module_path): try: return source_parser.extract_parser(module_path) except source_parser.ParserError: raise source_parser.ParserError( 'Could not locate ArgumentParser statements in Main().' '\nThis is probably my fault :( Please checkout github.com/chriskiehl/gooey to file a bug!')
def get_parser(module_path): # try: return source_parser.extract_parser(module_path)
def get_parser(module_path): return source_parser.extract_parser(module_path)