Improve SWF Domain representation
This commit is contained in:
parent
49bbd7399e
commit
2c3b286b6b
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ class Domain(object):
|
|||
self.status = "REGISTERED"
|
||||
|
||||
def __repr__(self):
|
||||
return "Domain(name: %s, retention: %s, description: %s)" % (self.name, self.retention, self.description)
|
||||
return "Domain(name: %(name)s, status: %(status)s)" % self.__dict__
|
||||
|
||||
|
||||
class SWFBackend(BaseBackend):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue