X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=31f9a25be9e48e5f34ea59d3d6743f539338825e;hb=8154d2b22cb56511e95f9b7e2a61a94bfb3e905f;hp=69bd944ecad25f984e22df3bc361ac33fb705886;hpb=e606913e5306edf83bac61bd0762d249e2bbeafd;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 69bd944e..31f9a25b 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1045,10 +1045,10 @@ 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) + dest = os.path.join(dest_dir, f) os.symlink(src, dest) # If the orig files are not a part of the upload, create symlinks to the