From 99203e7cf74234a1025d77ccc1a704d2654145a6 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 18 Apr 2008 20:42:20 +0200 Subject: [PATCH] check key == "new", not t[key] --- dak/transitions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5