Don't decode the date string of the build. Python3 comptibility.

This commit is contained in:
Roberto Rosario
2017-01-14 16:34:55 -04:00
parent bf94973caa
commit da27edf981

View File

@@ -92,7 +92,7 @@ def render_subtemplate(context, template_name, template_context):
def build():
if BUILD:
try:
return '{} {}'.format(BUILD(), DATE().decode())
return '{} {}'.format(BUILD(), DATE())
except sh.ErrorReturnCode_128:
return ''
else: