mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Cleaned up some funky indentation inconsistencies in lite-xmlrpc.py
This commit is contained in:
parent
138305b365
commit
47c736a90b
@ -113,7 +113,7 @@ class LoggingSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHa
|
||||
|
||||
def do_POST(self):
|
||||
clientIP, port = self.client_address
|
||||
# Log client IP and Port
|
||||
# Log client IP and Port
|
||||
logger.info('Client IP: %s - Port: %s' % (clientIP, port))
|
||||
try:
|
||||
# get arguments
|
||||
@ -123,14 +123,14 @@ class LoggingSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHa
|
||||
params, method = xmlrpclib.loads(data)
|
||||
|
||||
# Log client request
|
||||
logger.info('Client request: \n%s\n' % data)
|
||||
logger.info('Client request: \n%s\n' % data)
|
||||
|
||||
response = self._marshaled_dispatch(
|
||||
data, getattr(self, '_dispatch', None))
|
||||
|
||||
# Log server response
|
||||
# Log server response
|
||||
logger.info('Server response: \n%s\n' % response)
|
||||
except Exception, e:
|
||||
except Exception, e:
|
||||
# This should only happen if the module is buggy
|
||||
# internal error, report as HTTP server error
|
||||
print e
|
||||
|
Loading…
Reference in New Issue
Block a user