Cleanup
This commit is contained in:
parent
9c9a5914b3
commit
e17494c972
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user