From 4bb2307cd0c04e14ab7e414b5cdfbb5b2a6d0b46 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 27 Oct 2009 15:32:34 +0000 Subject: [PATCH] use isinstance Signed-off-by: Mark Hymers --- daklib/changes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/changes.py b/daklib/changes.py index 59c7da17..6c0be147 100755 --- a/daklib/changes.py +++ b/daklib/changes.py @@ -191,7 +191,7 @@ class Changes(object): self.dsc_files.update(p.load()) next_obj = p.load() - if type(next_obj) is DictType: + if isinstance(next_obj, dict): self.pkg.orig_files.update(next_obj) else: # Auto-convert old dak files to new format supporting -- 2.39.2