提交 c624ed16 编写于 作者: C Chris Lamb

Correct isinstance call; DictType is not an actual type.

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 4fdf7239
...@@ -296,7 +296,7 @@ class Upload(object): ...@@ -296,7 +296,7 @@ class Upload(object):
# If 'dak process-unchecked' crashed out in the right place, architecture may still be a string. # 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 \ 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" : "" } self.pkg.changes["architecture"] = { "Unknown" : "" }
# and maintainer2047 may not exist. # and maintainer2047 may not exist.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册