]> err.no Git - dak/commitdiff
check key == "new", not t[key]
authorJoerg Jaspert <joerg@debian.org>
Fri, 18 Apr 2008 18:42:20 +0000 (20:42 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 18 Apr 2008 18:42:20 +0000 (20:42 +0200)
dak/transitions.py

index b7020b15273a2e4d4c82d3e065550030738639ba..e7cb99e805994d3fb259e5bbb8b993eb2bb7380d 100755 (executable)
@@ -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: