Updates for issue #580
Fixing issue where a file called out with -f was also in a configuration file_list would result in an exception.
This commit is contained in:
parent
e7b9d00b6b
commit
74b1bfc8e8
|
|
@ -185,10 +185,11 @@ def update_command_line_arguments(commandLineArguments, configuration):
|
|||
try:
|
||||
lFileNames = glob.glob(utils.expand_filename(sFilename), recursive=True)
|
||||
for sFileName in lFileNames:
|
||||
if sFileName not in commandLineArguments:
|
||||
if sFileName not in commandLineArguments.filename:
|
||||
commandLineArguments.filename.append(sFileName)
|
||||
except:
|
||||
commandLineArguments.filename = glob.glob(utils.expand_filename(sFilename), recursive=True)
|
||||
|
||||
if 'local_rules' in configuration:
|
||||
commandLineArguments.local_rules = utils.expand_filename(configuration['local_rules'])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue