From a41d4491df8f81856b46692f4eb06816cb18b777 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Wed, 21 Jun 2017 15:50:00 +0200 Subject: [PATCH] Python 3 compatibility improvement (argparse arguments) --- bin/AdaoYacsSchemaCreator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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() -- 2.39.2