From 2c3b286b6b94a4329123a4b695ab30fa7fa48e95 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Wed, 30 Sep 2015 11:40:33 +0200 Subject: [PATCH] Improve SWF Domain representation --- moto/swf/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/swf/models.py b/moto/swf/models.py index 880e00b3d..c1aaff1d2 100644 --- a/moto/swf/models.py +++ b/moto/swf/models.py @@ -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):