mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
common: fix v2.6 formatting issue
This commit is contained in:
@@ -82,4 +82,4 @@ class AttributeHolder(object):
|
|||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
items = sorted(self.__dict__.items())
|
items = sorted(self.__dict__.items())
|
||||||
args = ', '.join('{0}={1}'.format(k, v) for k, v in items)
|
args = ', '.join('{0}={1}'.format(k, v) for k, v in items)
|
||||||
return '{}({})'.format(self.__class__.__name__, args)
|
return '{0}({1})'.format(self.__class__.__name__, args)
|
||||||
|
|||||||
Reference in New Issue
Block a user