From: Joerg Jaspert Date: Fri, 18 Apr 2008 18:42:20 +0000 (+0200) Subject: check key == "new", not t[key] X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=99203e7cf74234a1025d77ccc1a704d2654145a6;p=dak.git check key == "new", not t[key] --- diff --git a/dak/transitions.py b/dak/transitions.py index b7020b15..e7cb99e8 100755 --- a/dak/transitions.py +++ b/dak/transitions.py @@ -155,7 +155,7 @@ def load_transitions(trans_file): continue elif type(t[key]) != str: - if t[key] == "new" and type(t[key]) == int: + if key == "new" and type(t[key]) == int: # Ok, debian native version continue else: