diff options
Diffstat (limited to 'boto/swf/layer2.py')
-rw-r--r-- | boto/swf/layer2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boto/swf/layer2.py b/boto/swf/layer2.py index 10c34d55..cb3298e1 100644 --- a/boto/swf/layer2.py +++ b/boto/swf/layer2.py @@ -41,9 +41,9 @@ class SWFBase(object): def __repr__(self): """Generate string representation.""" - rep_str = self.name + rep_str = str(self.name) if hasattr(self, 'version'): - rep_str += '-' + getattr(self, 'version') + rep_str += '-' + str(getattr(self, 'version')) return '<%s %r at 0x%x>' % (self.__class__.__name__, rep_str, id(self)) class Domain(SWFBase): |