]> err.no Git - dak/commitdiff
pkg is on self.
authorChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 20:36:19 +0000 (20:36 +0000)
committerChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 20:36:19 +0000 (20:36 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index 69bd944ecad25f984e22df3bc361ac33fb705886..dc13b43d5bae11defdfe85b5f390b25e49f88f6c 100755 (executable)
@@ -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)