From: Chris Lamb Date: Fri, 30 Oct 2009 14:00:15 +0000 (+0000) Subject: Correct isinstance call; DictType is not an actual type. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c624ed16637a328216bfa908145fadd132e87b5b;p=dak.git Correct isinstance call; DictType is not an actual type. Signed-off-by: Chris Lamb --- 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.