Download:
child 95:14d83dc59b7e
parent 93:e49adb0b5b0c
94:1f9ea4fffb9c
Anton Shestakov <av6@dwimlabs.net>, Sun, 03 Jul 2016 23:56:46 +0800
checker: split a long line

1 файлов изменено, 2 вставок(+), 1 удалений(-) [+]
checker.py file | annotate | diff | comparison | revisions
--- a/checker.py Sun Jul 03 23:48:36 2016 +0800
+++ b/checker.py Sun Jul 03 23:56:46 2016 +0800
@@ -184,7 +184,8 @@
def main():
parser = ArgumentParser()
- parser.add_argument('config', help='configuration file (YAML)', type=FileType('r'))
+ helptext = 'project configuration file (YAML)'
+ parser.add_argument('config', type=FileType('r'), help=helptext)
args = parser.parse_args()
config = yaml.safe_load(args.config)
try: