1
0
Fork 0

Remove superfluous continue clause in bot-repo-cleanup

This commit is contained in:
tituspijean 2022-11-26 21:03:19 +01:00
parent 2dca5670de
commit 096752fa28

View file

@ -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
if repo.parent.full_name.split('/')[0] != "YunoHost-Apps":
print("| "+repo.name.ljust(20) + " | Skipping |")
continue
else:
# 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')) ]):