Esempio n. 1
0
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!')
Esempio n. 2
0
def get_parser(module_path):
  # try:
  return source_parser.extract_parser(module_path)
Esempio n. 3
0
def get_parser(module_path):
  return source_parser.extract_parser(module_path)