From: Chris Lamb Date: Wed, 28 Oct 2009 20:34:54 +0000 (+0000) Subject: Pass source_dir to ensure_all_source_exists X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e606913e5306edf83bac61bd0762d249e2bbeafd;p=dak Pass source_dir to ensure_all_source_exists Signed-off-by: Chris Lamb --- diff --git a/daklib/queue.py b/daklib/queue.py index 03b5e6b9..69bd944e 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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)