diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-11-18 22:43:15 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-11-18 22:43:15 +0200 |
commit | d036009b8bd13e360d3336b9aa97d49e1386551a (patch) | |
tree | ca249136a57297a23a84fdcf7e831a459748dc0f /gsxws/core.py | |
parent | 8bf05b0b5c600445c28cf7e2033c1b6213d11982 (diff) | |
download | py-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.py | 3 |
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" |