]> git.decadent.org.uk Git - dak.git/commitdiff
We renamed s/directory/queue/ in this code.
authorChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 18:54:01 +0000 (18:54 +0000)
committerChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 18:54:16 +0000 (18:54 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index d73b4797732bc278a64996661d9c1934b6783b92..174c02c8a48f9c4809dd7bbeaf1673547604d875 100755 (executable)
@@ -1263,11 +1263,11 @@ class Upload(object):
                 'OldProposedUpdates', 'Embargoed', 'Unembargoed')
 
             for queue in queues:
-                if 'Dir::Queue::%s' % directory not in cnf:
+                if 'Dir::Queue::%s' % queue not in cnf:
                     continue
 
                 queuefile_path = os.path.join(
-                    cnf['Dir::Queue::%s' % directory], filename
+                    cnf['Dir::Queue::%s' % queue], filename
                 )
 
                 if not os.path.exists(queuefile_path):