From: Thierry Parmentelat Date: Thu, 11 Apr 2013 13:36:29 +0000 (+0200) Subject: passing timestamp to Get breaks everything X-Git-Tag: myslice-0.2-1~156 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=b5b3df3365cc320f0a0bf3997c03f2ee151221f0 passing timestamp to Get breaks everything --- diff --git a/manifold/manifoldapi.py b/manifold/manifoldapi.py index 86471eab..5f79452d 100644 --- a/manifold/manifoldapi.py +++ b/manifold/manifoldapi.py @@ -62,9 +62,11 @@ class ManifoldAPI: def send_manifold_query (self, query): (action,subject)= (query.action,query.subject) + # use e.g. self.Get rather than self.server.Get so we catch exceptions as per __getattr__ if action=='get': - # use self.Get rather than self.server.Get so we catch exceptions as per __getattr__ - return self.Get(subject, query.filters, query.timestamp, query.fields) +# this makes the backend to squeak and one can't login anymore... +# return self.Get(subject, query.filters, query.timestamp, query.fields) + return self.Get(subject, query.filters, {}, query.fields) if action=='update': return self.Update(subject, query.filters, query.params, query.fields) else: