From d2802952aae27d3dd53a394ba8299381990d342d Mon Sep 17 00:00:00 2001 From: "sandipsamal117@gmail.com" Date: Thu, 26 Oct 2023 11:20:57 -0400 Subject: [PATCH] fix pftree key error --- pfdo_med2img/pfdo_med2img.py | 8 ++++++++ setup.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pfdo_med2img/pfdo_med2img.py b/pfdo_med2img/pfdo_med2img.py index 70a8789..43b5b77 100644 --- a/pfdo_med2img/pfdo_med2img.py +++ b/pfdo_med2img/pfdo_med2img.py @@ -434,6 +434,13 @@ def define_parameters(self): type = str, optional= True, default = "90") + self.add_argument("--syslog", + help="show outputs in syslog style", + dest='syslog', + action='store_true', + optional=True, + type=bool, + default=False) def run(self, options): @@ -442,6 +449,7 @@ def run(self, options): """ print(Gstr_title) print('Version: %s' % self.get_version()) + options.str_desc = "" for k,v in options.__dict__.items(): print("%25s: [%s]" % (k, v)) diff --git a/setup.py b/setup.py index c6c0ab9..2fb24f4 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name = 'pfdo_med2img', - version = '1.2.0', + version = '1.2.1', description = 'An app to recursively walk down a directory tree and perform bulk med2image on files/dirs.', long_description = readme, author = 'Arushi Vyas',