Comment 8 for bug 1881632

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Note that this bit needs to be ESM_ORIGINS, not esm_origins:

@@ -58,7 +61,7 @@ def isSecurityUpgrade(ver):
 def isESMUpgrade(ver):
     " check if the given version is a security update (or masks one) "
     for (file, index) in ver.file_list:
- if file.origin == "UbuntuESM" and file.archive.startswith(DISTRO):
+ if file.origin in esm_origins and file.archive.startswith(DISTRO):
             return True
     return False