fix TypeError
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 22 Nov 2011 20:01:48 +0000 (15:01 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 22 Nov 2011 20:01:48 +0000 (15:01 -0500)
sfa/server/sfaapi.py

index 26957c0..b0e9330 100644 (file)
@@ -248,5 +248,5 @@ class SfaApi (XmlrpcApi):
             if hasattr(self.config, 'SFA_AM_API_VERSION') and \
               self.config.SFA_AM_API_VERSION == "2":
                 result = self.prepare_response_v2_am(result)
-        return XmlrpcApi.prepare_response(result, method)
+        return XmlrpcApi.prepare_response(self, result, method)