From e3cb14806475d7b3ee256d8c711947126151cf3c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 27 Mar 2013 09:32:48 +0100 Subject: [PATCH] add comment --- manifold/manifoldapi.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifold/manifoldapi.py b/manifold/manifoldapi.py index 6c942b4f..74aaf8c9 100644 --- a/manifold/manifoldapi.py +++ b/manifold/manifoldapi.py @@ -24,6 +24,12 @@ class ManifoldAPI: def __repr__ (self): return "ManifoldAPI[%s]"%self.url + # xxx temporary code for scaffolding a ManifolResult on top of an API that does not expose error info + # as of march 2013 we work with an API that essentially either returns the value, or raises + # an xmlrpclib.Fault exception with always the same 8002 code + # since most of the time we're getting this kind of issues for expired sessions + # (looks like sessions are rather short-lived), for now the choice is to map these errors on + # a SESSION_EXPIRED code def __getattr__(self, methodName): def func(*args, **kwds): if (debug): -- 2.43.0