diff --git a/daklib/queue.py b/daklib/queue.py index b784b114d7d806599e296673ed43938330956855..f5f3c65c9e5729c65663072bb578eb3a98a8abcc 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1058,7 +1058,7 @@ class Upload(object): # TODO: Dynamically generate this list for queue_name in [ "byhand", "new", "proposedupdates", "oldproposedupdates", "embargoed", "unembargoed" ]: queue = get_policy_queue(queue_name, session) - if queue and os.path.exists(queue.path, f)): + if queue and os.path.exists(queue.path, f): self.rejects.append("%s file already exists in the %s queue." % (f, queue_name)) if not re_taint_free.match(f):