]> err.no Git - dak/commitdiff
Remove use of an undeclared variable.
authorMark Hymers <mhy@debian.org>
Fri, 20 Mar 2009 21:35:22 +0000 (21:35 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 20 Mar 2009 21:35:22 +0000 (21:35 +0000)
This was causing us to reject packages which already had an orig
in the pool even if matched.

Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/dbconn.py

index 9801fdfdf25017121d9804e11d16a1d3d7d2adc1..60f0cd3ed3cfeb14e2b317ceeb6891dc706dcde1 100755 (executable)
@@ -402,7 +402,7 @@ class DBConn(Singleton):
                     res =  -2
 
                 else:
-                    self.caches[cachename].SetValue(values, row[0])
+                    self.caches['files'].SetValue(values, row[0])
                     res = row[0]
 
         return res