bug in contract type display

This commit is contained in:
Bezleputh 2013-07-22 19:04:01 +02:00 committed by Florent
commit 824e4b56da

View file

@ -69,7 +69,7 @@ class JobAdvertListFormatter(PrettyFormatter):
if hasattr(obj, 'society_name') and obj.society_name:
result += '\tSociety : %s\n' % obj.society_name
if hasattr(obj, 'contract_type') and obj.contract_type:
result += '\tContract : %s\n'
result += '\tContract : %s\n' % obj.contract_type
return result