From: Jean-Philippe ARGAUD Date: Wed, 21 Jun 2017 13:50:00 +0000 (+0200) Subject: Python 3 compatibility improvement (argparse arguments) X-Git-Tag: V8_4_0~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a41d4491df8f81856b46692f4eb06816cb18b777;p=modules%2Fadao.git Python 3 compatibility improvement (argparse arguments) --- diff --git a/bin/AdaoYacsSchemaCreator.py b/bin/AdaoYacsSchemaCreator.py index c66e3f1..8720d77 100644 --- a/bin/AdaoYacsSchemaCreator.py +++ b/bin/AdaoYacsSchemaCreator.py @@ -47,8 +47,7 @@ except: # Parse arguments from argparse import ArgumentParser usage = "usage: %(prog)s [options] config_file yacs_schema_filename" -version="%(prog)s 0.1" -my_parser = ArgumentParser(usage=usage, version=version) +my_parser = ArgumentParser(usage=usage) my_parser.add_argument('config_file') my_parser.add_argument('yacs_schema_filename') args = my_parser.parse_args()