requestfinder: make sure exclude-project is a list
This commit is contained in:
parent
9ae466f8a3
commit
cf91f04f34
@ -155,7 +155,7 @@ class CommandLineInterface(ToolBase.CommandLineInterface):
|
||||
if review.by_project:
|
||||
skip = False
|
||||
if settings['exclude-project']:
|
||||
for p in settings['exclude-project']:
|
||||
for p in settings['exclude-project'].split(' '):
|
||||
if review.by_project.startswith(p):
|
||||
skip = True
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user