Store copy of variables of list config items to be able to read the original value
This commit is contained in:
parent
e001448adb
commit
731b79fc6c
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,6 @@ class Config(object):
|
|||
except Exception as err:
|
||||
print "Error loading trackers files: %s" % err
|
||||
|
||||
|
||||
# Find arguments specified for current action
|
||||
def getActionArguments(self):
|
||||
back = {}
|
||||
|
@ -409,6 +408,8 @@ class Config(object):
|
|||
if self.arguments:
|
||||
args = vars(self.arguments)
|
||||
for key, val in args.items():
|
||||
if type(val) is list:
|
||||
val = val[:]
|
||||
setattr(self, key, val)
|
||||
|
||||
def loadPlugins(self):
|
||||
|
|
Loading…
Reference in a new issue