Merged in [15080] from rjsparks@nostrum.com:
Marked a couple of functions as unreachable.
- Legacy-Id: 15089
Note: SVN reference [15080] has been migrated to Git commit 7df28d8bac
This commit is contained in:
commit
c02f8fe331
|
@ -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