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