1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Remove superfluous continue clause in bot-repo-cleanup

This commit is contained in:
tituspijean 2022-11-26 21:03:19 +01:00
parent 89f1da0ca3
commit c87472b0e2
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

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')) ]):