Commit 10ef4a45 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: Fix up category name on upgrade scope

parent d023bb2f
......@@ -2,7 +2,8 @@ from DateTime import DateTime
computer = context
portal = context.getPortalObject()
if context.getUpgradeScope() == "never":
upgrade_scope = context.getUpgradeScope()
if upgrade_scope in ["never", "disabled"]:
return
full_software_release_list = [si.url_string for si in
......
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