Marked a couple of functions as unreachable. Commit ready for merge.

- Legacy-Id: 15080
This commit is contained in:
Robert Sparks 2018-04-25 15:10:55 +00:00
parent 2e395bde5d
commit 7df28d8bac

View file

@ -84,12 +84,14 @@ def do_undefer_ballot(request, doc):
email_ballot_undeferred(request, doc, by.plain_name(), telechat_date)
def position_to_ballot_choice(position):
log.unreachable('2018-04-25')
for v, label in BALLOT_CHOICES:
if v and getattr(position, v):
return v
return ""
def position_label(position_value):
log.unreachable('2018-04-25')
return dict(BALLOT_CHOICES).get(position_value, "")
# -------------------------------------------------