Fix startswith usage

Fix my previous change, startswith needs a tuple, not a list.

Change-Id: I3df0e711dae7553be1946ece5b41d6407986f588
This commit is contained in:
Andreas Jaeger 2017-03-24 18:09:39 +01:00
parent b88dafc17d
commit 135363a635
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def main():
for project in projects:
# Ignore attic and stackforge, those are repos that are not
# active anymore.
if project.startswith(['openstack-attic', 'stackforge']):
if project.startswith(('openstack-attic', 'stackforge')):
continue
basename = os.path.basename(project)
# ignore deb- projects that are forks of other projects intended for