aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/objectify.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-09-09 08:45:52 +0300
committerFilipp Lepalaan <f@230.to>2013-09-09 08:45:52 +0300
commit8030271870fe174cb7f47677ef7cafa595d9ddc5 (patch)
tree29971f5ea9f39a299fae483e393b63264795d06a /gsxws/objectify.py
parentf1e1789e1a9cdebf5268d0fa3dd2846178669777 (diff)
downloadpy-gsxws-8030271870fe174cb7f47677ef7cafa595d9ddc5.tar.gz
py-gsxws-8030271870fe174cb7f47677ef7cafa595d9ddc5.tar.bz2
py-gsxws-8030271870fe174cb7f47677ef7cafa595d9ddc5.zip
Minor tweaks
Diffstat (limited to 'gsxws/objectify.py')
-rw-r--r--gsxws/objectify.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gsxws/objectify.py b/gsxws/objectify.py
index 5658d1a..007a523 100644
--- a/gsxws/objectify.py
+++ b/gsxws/objectify.py
@@ -76,15 +76,14 @@ def gsx_timestamp(value):
class GsxElement(objectify.ObjectifiedElement):
def __getattribute__(self, name):
-
try:
result = super(GsxElement, self).__getattribute__(name)
except AttributeError:
"""
The XML returned by GSX can be pretty inconsistent, especially
between the different environments. It's therefore more
- practical to return None than to look for AttributeErrors all
- over your application...
+ practical to return None than to expect AttributeErrors all
+ over your application.
"""
return