diff options
Diffstat (limited to 'gsxws/objectify.py')
-rw-r--r-- | gsxws/objectify.py | 5 |
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 |