X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=a40118d4969b8f90dbdb7252ce92355f0ab8ad35;hb=a13bb1a6f59fe5f497b125da3764da72081a7ab2;hp=bc76fb0bdad66c56184e693f084d6b9647a39745;hpb=776229f5bed50af6c2432f188c1131b5ef05185c;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index bc76fb0b..a40118d4 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -123,6 +123,8 @@ def usage (exit_code=0): ################################################################################ def action(u): + cnf = Config() + # changes["distribution"] may not exist in corner cases # (e.g. unreadable changes files) if not u.pkg.changes.has_key("distribution") or not isinstance(u.pkg.changes["distribution"], DictType):