Fix startswith usage
Fix my previous change, startswith needs a tuple, not a list. Change-Id: I3df0e711dae7553be1946ece5b41d6407986f588
This commit is contained in:
parent
b88dafc17d
commit
135363a635
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue