(value)
| 871 | |
| 872 | # Validate file existence for definitions file |
| 873 | def check_definitions_exists(value): |
| 874 | if not os.path.isfile(value): |
| 875 | raise argparse.ArgumentTypeError('Definitions file \'%s\' does not exist. Try running %s --update first.' % (value, FILENAME)) |
| 876 | |
| 877 | return value |
| 878 | |
| 879 | |
| 880 | # Specify arguments using for the argparse library |
nothing calls this directly
no outgoing calls
no test coverage detected