Allow cleanup_rings without locking the stagings

This commit is contained in:
Fabian Vogt 2023-03-23 13:13:10 +01:00
parent 74c6f46a99
commit 1e5166324d

View File

@ -68,7 +68,7 @@ def _full_project_name(self, project):
def lock_needed(cmd, opts):
return not (
cmd in ('check', 'check_duplicate_binaries', 'check_local_links',
'frozenage', 'rebuild', 'unlock', 'setprio') or
'frozenage', 'rebuild', 'unlock', 'setprio', 'cleanup_rings') or
(cmd == 'list' and not opts.supersede)
)