X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=a40118d4969b8f90dbdb7252ce92355f0ab8ad35;hb=a13bb1a6f59fe5f497b125da3764da72081a7ab2;hp=11bbfef9ab564f368b3e877b59aec523fef9abe8;hpb=0dada7c5846e0ae676bbe0b81c1065fe75ca9b86;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 11bbfef9..a40118d4 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -122,7 +122,9 @@ def usage (exit_code=0): ################################################################################ -def action (): +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):