requestfinder: make sure exclude-project is a list

This commit is contained in:
Ludwig Nussel 2018-02-13 12:56:20 +01:00
parent 9ae466f8a3
commit cf91f04f34

View File

@ -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