]> git.decadent.org.uk Git - dak.git/commitdiff
Correct isinstance call; DictType is not an actual type.
authorChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 14:00:15 +0000 (14:00 +0000)
committerChris Lamb <lamby@debian.org>
Fri, 30 Oct 2009 14:29:58 +0000 (14:29 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index 5bbd832523a3244e426e39872036305e85f19e51..2cce4937cf43d6b7dc6f8a4fc7799a7befdc17a0 100755 (executable)
@@ -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.