]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/queue.py
Pass source_dir to ensure_all_source_exists
[dak.git] / 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)