mirror of
https://github.com/openkmip/pykmip
synced 2025-12-31 15:43:45 +00:00
Fixing format string indices
This change adds indices to all format strings, ensuring interoperability with Python 2.6.
This commit is contained in:
@@ -49,7 +49,7 @@ class AttributeFactory(object):
|
||||
pass
|
||||
else:
|
||||
msg = utils.build_er_error(Attribute, 'name',
|
||||
'{} or {}'.format('Enum', 'str'),
|
||||
'{0} or {1}'.format('Enum', 'str'),
|
||||
type(name))
|
||||
raise TypeError(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user