X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fchanges.py;h=ff23222486a220a3fd8d316836b01c51ff5db55a;hb=1b29fb2dc99c4569a9aea6a8652ddecc340730d7;hp=59c7da17d15da775e7a3e4d843f4f643e3894210;hpb=2495bbed9a0904fbe1a15976cad2974b305fb9ce;p=dak.git diff --git a/daklib/changes.py b/daklib/changes.py index 59c7da17..ff232224 100755 --- a/daklib/changes.py +++ b/daklib/changes.py @@ -191,8 +191,8 @@ class Changes(object): self.dsc_files.update(p.load()) next_obj = p.load() - if type(next_obj) is DictType: - self.pkg.orig_files.update(next_obj) + if isinstance(next_obj, dict): + self.orig_files.update(next_obj) else: # Auto-convert old dak files to new format supporting # multiple tarballs