From: Ansgar Burchardt Date: Tue, 6 May 2014 17:15:00 +0000 (+0200) Subject: daklib/checks.py: Set "session" variable. X-Git-Url: https://git.donarmstrong.com/?p=dak.git;a=commitdiff_plain;h=321e814e04b7e01820120fd888e55975dafc240a daklib/checks.py: Set "session" variable. --- diff --git a/daklib/checks.py b/daklib/checks.py index d148d15b..2a7e3e10 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -551,6 +551,8 @@ class TransitionCheck(Check): if transitions is None: return True + session = upload.session + control = upload.changes.changes source = re_field_source.match(control['Source']).group('package')