X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fchanges.py;h=6c0be147014223f40c9c4c85cfd3910c06055fc3;hb=4bb2307cd0c04e14ab7e414b5cdfbb5b2a6d0b46;hp=59c7da17d15da775e7a3e4d843f4f643e3894210;hpb=07fff4bbf7aba49614beb56312206dcc841873c9;p=dak.git 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