From 321e814e04b7e01820120fd888e55975dafc240a Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt <ansgar@debian.org>
Date: Tue, 6 May 2014 19:15:00 +0200
Subject: [PATCH] daklib/checks.py: Set "session" variable.

---
 daklib/checks.py | 2 ++
 1 file changed, 2 insertions(+)

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')
 
-- 
2.39.5