git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
view-unfold{12}
[unfold.git]
/
manifold
/
manifoldapi.py
diff --git
a/manifold/manifoldapi.py
b/manifold/manifoldapi.py
index
e482c2d
..
18c555c
100644
(file)
--- a/
manifold/manifoldapi.py
+++ b/
manifold/manifoldapi.py
@@
-34,9
+34,9
@@
class ManifoldAPI:
return func
def send_manifold_query (self, manifold_query):
return func
def send_manifold_query (self, manifold_query):
- (action,
method)= (manifold_query.action,manifold_query.method
)
+ (action,
subject)= (manifold_query.action,manifold_query.subject
)
if action=='get':
if action=='get':
- return self.server.Get(self.auth,
method
, manifold_query.filters, {}, manifold_query.fields)
+ return self.server.Get(self.auth,
subject
, manifold_query.filters, {}, manifold_query.fields)
# xxx...
else:
print "WARNING: ManifoldAPI.send_manifold_query: only 'get' implemented for now"
# xxx...
else:
print "WARNING: ManifoldAPI.send_manifold_query: only 'get' implemented for now"