X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=5f9fccb4073dfc8e5854c552ddd262ca7c791ec6;hb=e1bb1650f0801fb102c20fe97359eaa3f0d20a0c;hp=e1ade39e12a717e660cf7c5f44598b52432efedb;hpb=8553fbdec127c442401908035a7d31c76ef7dca9;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index e1ade39e..5f9fccb4 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -720,7 +720,6 @@ class Upload(object): def per_suite_file_checks(self, f, suite, session): cnf = Config() entry = self.pkg.files[f] - archive = utils.where_am_i() # Skip byhand if entry.has_key("byhand"): @@ -764,9 +763,9 @@ class Upload(object): # Determine the location location = cnf["Dir::Pool"] - l = get_location(location, entry["component"], archive, session) + l = get_location(location, entry["component"], session=session) if l is None: - self.rejects.append("[INTERNAL ERROR] couldn't determine location (Component: %s, Archive: %s)" % (entry["component"], archive)) + self.rejects.append("[INTERNAL ERROR] couldn't determine location (Component: %)" % entry["component"]) entry["location id"] = -1 else: entry["location id"] = l.location_id