This commit is contained in:
Florian Bruhin 2017-06-06 15:25:21 +02:00
parent 9c9a5914b3
commit e17494c972

View File

@ -109,9 +109,9 @@ class Attribute(Base):
self._attributes = list(attributes) self._attributes = list(attributes)
def __repr__(self): def __repr__(self):
return utils.get_repr( attributes = [debug.qenum_key(self.ENUM_BASE, attr)
self, attributes=[debug.qenum_key(self.ENUM_BASE, attr) for attr in self._attributes]
for attr in self._attributes], constructor=True) return utils.get_repr(self, attributes=attributes, constructor=True)
def _set(self, value, settings=None): def _set(self, value, settings=None):
for obj in self._get_settings(settings): for obj in self._get_settings(settings):