]> git.decadent.org.uk Git - dak.git/commitdiff
Pass source_dir to ensure_all_source_exists
authorChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 20:34:54 +0000 (20:34 +0000)
committerChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 20:34:54 +0000 (20:34 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index 03b5e6b9f7453a0206ee79d5a31693e6fe2e2095..69bd944ecad25f984e22df3bc361ac33fb705886 100755 (executable)
@@ -1025,7 +1025,7 @@ class Upload(object):
 
     ###########################################################################
 
-    def ensure_all_source_exists(self, dest_dir=None):
+    def ensure_all_source_exists(self, source_dir, dest_dir=None):
         """
         Ensure that dest_dir contains all the orig tarballs for the specified
         changes. If it does not, symlink them into place.
@@ -1077,7 +1077,7 @@ class Upload(object):
         if not dsc_filename:
             return
 
-        self.ensure_all_source_exists()
+        self.ensure_all_source_exists(source_dir)
 
         # Extract the source
         cmd = "dpkg-source -sn -x %s" % (dsc_filename)