X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fchanges.py;h=1bb90753601bd9f3b0e220363b39e7aeac6932a9;hb=77bd8c2de837c0deb2255e12130712b4662a03f9;hp=5cd26e2a69e071689e5adba343f0590a1973b3f1;hpb=3b1a95b1ac0b05ca86ac1fde96ca51fdae429ccd;p=dak.git diff --git a/daklib/changes.py b/daklib/changes.py index 5cd26e2a..1bb90753 100755 --- a/daklib/changes.py +++ b/daklib/changes.py @@ -150,7 +150,6 @@ class Changes(object): or the text of a warning if there are """ - conf = Config() summary = "" # Abandon the check if it's a non-sourceful upload @@ -166,7 +165,7 @@ class Changes(object): entry["override section"]) if entry["priority"] != "-": - if entry["priority"] != entry["override_priority"]: + if entry["priority"] != entry["override priority"]: summary += "%s: package says priority is %s, override says %s.\n" % (name, entry["priority"], entry["override priority"])