Drop transitional code

broken-hint-logging
Steve Langasek 8 years ago
parent 16cca9c55d
commit 41ac7a81f9

@ -179,10 +179,6 @@ class EmailPolicy(BasePolicy, Rest):
emails = [] emails = []
sent_age = 0 sent_age = 0
sent = False sent = False
# TODO: This transitional code can only trigger on the first
# production run, feel free to drop this shortly after merging.
if cached is True:
sent = True
if self.dry_run: if self.dry_run:
self.log("[email dry run] Considering: %s/%s: %s" % self.log("[email dry run] Considering: %s/%s: %s" %
(source_name, version, "stuck" if stuck else "not stuck")) (source_name, version, "stuck" if stuck else "not stuck"))

Loading…
Cancel
Save