From c624ed16637a328216bfa908145fadd132e87b5b Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 30 Oct 2009 14:00:15 +0000 Subject: [PATCH] Correct isinstance call; DictType is not an actual type. Signed-off-by: Chris Lamb --- daklib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/queue.py b/daklib/queue.py index 5bbd8325..2cce4937 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -296,7 +296,7 @@ class Upload(object): # If 'dak process-unchecked' crashed out in the right place, architecture may still be a string. if not self.pkg.changes.has_key("architecture") or not \ - isinstance(self.pkg.changes["architecture"], DictType): + isinstance(self.pkg.changes["architecture"], dict): self.pkg.changes["architecture"] = { "Unknown" : "" } # and maintainer2047 may not exist. -- 2.39.5