git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed SFA_AM_API_VERSION to SFA_AGGREGATE_API_VERSION
[sfa.git]
/
sfa
/
server
/
sfaapi.py
diff --git
a/sfa/server/sfaapi.py
b/sfa/server/sfaapi.py
index
26957c0
..
845ccff
100644
(file)
--- a/
sfa/server/sfaapi.py
+++ b/
sfa/server/sfaapi.py
@@
-245,8
+245,8
@@
class SfaApi (XmlrpcApi):
response
"""
if self.interface.lower() == 'aggregate':
response
"""
if self.interface.lower() == 'aggregate':
- if hasattr(self.config, 'SFA_A
M
_API_VERSION') and \
- self.config.SFA_A
M
_API_VERSION == "2":
+ if hasattr(self.config, 'SFA_A
GGREGATE
_API_VERSION') and \
+ self.config.SFA_A
GGREGATE
_API_VERSION == "2":
result = self.prepare_response_v2_am(result)
result = self.prepare_response_v2_am(result)
- return XmlrpcApi.prepare_response(result, method)
+ return XmlrpcApi.prepare_response(
self,
result, method)