'str' object has no attribute 'capitalized'

This commit is contained in:
Jayesh Kariya 2015-05-19 17:25:16 +05:30
parent c73bf38927
commit e422d9d200

View file

@ -4041,7 +4041,7 @@ def serialize(name,
else:
return {'changes': {},
'comment': ('{0} format is not supported for merging'
.format(formatter.capitalized())),
.format(formatter.capitalize())),
'name': name,
'result': False}
@ -4076,7 +4076,7 @@ def serialize(name,
else:
return {'changes': {},
'comment': '{0} format is not supported'.format(
formatter.capitalized()),
formatter.capitalize()),
'name': name,
'result': False
}