Commit ec7e449c authored by Łukasz Nowak's avatar Łukasz Nowak

fix "Feature computer remove unused software"

Handle only public computers or forever closed, as other scopes are
reserved for personal or project usage.
parent 3d7dfe5b
......@@ -19,6 +19,9 @@ if computer is None:
if computer.Computer_getSoftwareReleaseUsage(url_string) != 0:
if computer.getAllocationScope() not in ['open/public', 'open/subscription', 'close/forever']:
# handle only some specific computers: public ones and removed
comment='Destroyed by %s as %s is archived.' % (, software_release.getRelativeUrl(),))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment