]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/archive.py
Pass suite name to the autobyhand scripts
[dak.git] / daklib / archive.py
index 7dd1822ad3abc8c20ed47a12c76927986c9abd30..4226ce9c6e11eb6ebf3761c65fd07783e9a14efc 100644 (file)
@@ -1170,7 +1170,7 @@ class ArchiveUpload(object):
                 continue
 
             script = rule['Script']
-            retcode = daklib.daksubprocess.call([script, os.path.join(self.directory, f.filename), control['Version'], arch, os.path.join(self.directory, self.changes.filename)], shell=False)
+            retcode = daklib.daksubprocess.call([script, os.path.join(self.directory, f.filename), control['Version'], arch, os.path.join(self.directory, self.changes.filename), suite.suite_name], shell=False)
             if retcode != 0:
                 print "W: error processing {0}.".format(f.filename)
                 remaining.append(f)