Marked a couple of functions as unreachable. Commit ready for merge.
- Legacy-Id: 15080
This commit is contained in:
parent
2e395bde5d
commit
7df28d8bac
|
@ -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, "")
|
||||
|
||||
# -------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue