(value)
| 225 | |
| 226 | |
| 227 | def check_positive(value): |
| 228 | ivalue = int(value) |
| 229 | if ivalue < 0: |
| 230 | raise argparse.ArgumentTypeError("%s is an invalid positive int value" % value) |
| 231 | return ivalue |
| 232 | |
| 233 | |
| 234 | def check_directory(value): |
nothing calls this directly
no outgoing calls
no test coverage detected