X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=a40118d4969b8f90dbdb7252ce92355f0ab8ad35;hb=cd2b6a4616fab39400af8e9c5ccb135722e96b30;hp=11bbfef9ab564f368b3e877b59aec523fef9abe8;hpb=327655d9d5944438ecdfbfe17afa5ff7c5551162;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):