Remove superfluous continue clause in bot-repo-cleanup
This commit is contained in:
parent
2dca5670de
commit
096752fa28
1 changed files with 0 additions and 1 deletions
|
@ -17,7 +17,6 @@ for repo in u.get_repos():
|
||||||
# Proceed iff the repository is a fork (`parent` key is set) of a repository in our apps organization
|
# Proceed iff the repository is a fork (`parent` key is set) of a repository in our apps organization
|
||||||
if repo.parent.full_name.split('/')[0] != "YunoHost-Apps":
|
if repo.parent.full_name.split('/')[0] != "YunoHost-Apps":
|
||||||
print("| "+repo.name.ljust(20) + " | Skipping |")
|
print("| "+repo.name.ljust(20) + " | Skipping |")
|
||||||
continue
|
|
||||||
else:
|
else:
|
||||||
# If none of the PRs are opened by the bot, delete the repository
|
# If none of the PRs are opened by the bot, delete the repository
|
||||||
if not any([ (pr.user == u) for pr in list(repo.parent.get_pulls(state='open', sort='created')) ]):
|
if not any([ (pr.user == u) for pr in list(repo.parent.get_pulls(state='open', sort='created')) ]):
|
||||||
|
|
Loading…
Reference in a new issue