move request review information into a partial

This commit is contained in:
dandds
2018-08-30 10:54:25 -04:00
committed by luis cielak
parent 0a62157d00
commit 0a36f1d6ca
6 changed files with 335 additions and 403 deletions

View File

@@ -30,7 +30,10 @@ def readableInteger(value):
def getOptionLabel(value, options):
return next(tup[1] for tup in options if tup[0] == value)
try:
return next(tup[1] for tup in options if tup[0] == value)
except StopIteration:
return
def mixedContentToJson(value):