aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-11-18 22:43:15 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-11-18 22:43:15 +0200
commitd036009b8bd13e360d3336b9aa97d49e1386551a (patch)
treeca249136a57297a23a84fdcf7e831a459748dc0f /gsxws/core.py
parent8bf05b0b5c600445c28cf7e2033c1b6213d11982 (diff)
downloadpy-gsxws-d036009b8bd13e360d3336b9aa97d49e1386551a.tar.gz
py-gsxws-d036009b8bd13e360d3336b9aa97d49e1386551a.tar.bz2
py-gsxws-d036009b8bd13e360d3336b9aa97d49e1386551a.zip
Cleanup
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index 17f6556..4e18bdd 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -484,6 +484,9 @@ class GsxObject(object):
req = GsxRequest(**{'GsxObject': self})
return ET.tostring(req.data, encoding='utf-8')
+ def __str__(self):
+ return str(self._data)
+
class GsxRequestObject(GsxObject):
"The GSX-friendly representation of this GsxObject"