X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fchanges.py;h=ff23222486a220a3fd8d316836b01c51ff5db55a;hb=71aeeef1bfbf9ec6c2b42f755e43bbc2f6814403;hp=59c7da17d15da775e7a3e4d843f4f643e3894210;hpb=28f3e6f0659504214d482d682f4b2b4791872cc6;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