From: Chris Lamb <lamby@debian.org>
Date: Wed, 28 Oct 2009 20:36:19 +0000 (+0000)
Subject: pkg is on self.
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ed14f5f574ad753dc49ba61675fb1e0b94a09a28;p=dak.git

pkg is on self.

Signed-off-by: Chris Lamb <lamby@debian.org>
---

diff --git a/daklib/queue.py b/daklib/queue.py
index 69bd944e..dc13b43d 100755
--- a/daklib/queue.py
+++ b/daklib/queue.py
@@ -1045,8 +1045,8 @@ class Upload(object):
                 if not os.path.exists(src):
                     return
                 ftype = m.group(3)
-                if re_is_orig_source.match(f) and pkg.orig_files.has_key(f) and \
-                   pkg.orig_files[f].has_key("path"):
+                if re_is_orig_source.match(f) and self.pkg.orig_files.has_key(f) and \
+                   self.pkg.orig_files[f].has_key("path"):
                     continue
                 dest = os.path.join(os.getcwd(), f)
                 os.symlink(src, dest)