Improve SWF Domain representation
This commit is contained in:
parent
49bbd7399e
commit
2c3b286b6b
@ -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…
Reference in New Issue
Block a user