X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=a40118d4969b8f90dbdb7252ce92355f0ab8ad35;hb=0fb9aaa6807fdace80f248fb3cc9b66fc5bfbb3c;hp=bc76fb0bdad66c56184e693f084d6b9647a39745;hpb=82e7652a8c069e61409faacf61922c93cec2e789;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):