Fix outdir to be path arg 37/71637/1
authorSam Hague <shague@redhat.com>
Tue, 1 May 2018 20:45:17 +0000 (16:45 -0400)
committerSam Hague <shague@redhat.com>
Tue, 1 May 2018 20:50:32 +0000 (16:50 -0400)
Change-Id: Ia06a46f951181608eed1ba62150fc9ad803c90ab
Signed-off-by: Sam Hague <shague@redhat.com>
resources/tools/odltools/odltools/__init__.py
resources/tools/odltools/odltools/csit/cli.py
resources/tools/odltools/odltools/csit/robotfiles.py
resources/tools/odltools/odltools/mdsal/cli.py
resources/tools/odltools/odltools/mdsal/cmd.py
resources/tools/odltools/setup.cfg

index 7525d19930beef9410753ed0b6347e38efbf5be9..2fb25139f1489c1c5f9f939ddc411d187d5c8e75 100644 (file)
@@ -1 +1 @@
-__version__ = '0.1.4'
+__version__ = '0.1.6'
index c2a25d6fd6f15bb9a0908afcd2376859a01e3ba9..f5f6beec5add290b3575cc0ba255f1aee22376d6 100644 (file)
@@ -5,7 +5,7 @@ def add_parser(subparsers):
     parser = subparsers.add_parser("csit")
     parser.add_argument("infile",
                         help="XML output from a Robot test, e.g. output_01_l2.xml.gz")
-    parser.add_argument("outdir",
+    parser.add_argument("path",
                         help="the directory that the parsed data is written into")
     parser.add_argument("-g", "--gunzip", action="store_true",
                         help="unzip the infile")
index d8eeb9e9dc71c6d1c8011411a513b7bb1a012450..23e5da3ee6191abfc02f166b455747f84c5c602a 100644 (file)
@@ -268,7 +268,7 @@ class RobotFiles:
 
 
 def run(args):
-    robotfile = RobotFiles(args.infile, args.outdir)
+    robotfile = RobotFiles(args.infile, args.path)
     robotfile.print_config()
     robotfile.mk_outdir()
     if args.gunzip:
index 493d0395434843ed5dc57b601dce4a6f51350324..b3bb804a5698a1610d130e896df51fc4e7a35c97 100644 (file)
@@ -3,7 +3,7 @@ import cmd
 
 def add_dump_parser(parsers):
     parser = parsers.add_parser("dump", description="Get and write all mdsal models")
-    parser.add_argument("outdir",
+    parser.add_argument("path",
                         help="the directory that the parsed data is written into")
     parser.add_argument("-i", "--ip", default="localhost",
                         help="OpenDaylight ip address")
index 42abdd4c69921a41dbc7dc3d095e40977301313e..56087c9b062febc22cbad2257517bdecfe794e60 100644 (file)
@@ -185,4 +185,4 @@ def get_model_data(filename, url, user, pw, pretty_print=False):
 
 
 def run_dump(args):
-    get_all_dumps(args.outdir, args)
+    get_all_dumps(args)
index 0496b13c7ff248838b6041137622bd44aad1daff..9106e1038dcc4ed5e8b726e5326378e18d402a56 100644 (file)
@@ -2,5 +2,5 @@
 universal=1
 
 [egg_info]
-#tag_build = dev
-tag_build =
\ No newline at end of file
+tag_build = dev
+#tag_build =
\ No newline at end of file