summaryrefslogtreecommitdiffstats
path: root/lite-xmlrpc.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-28 02:33:35 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-28 02:33:35 -0600
commit47c736a90b845e3e96d99b06fac19e410d64e76b (patch)
treec4bbb2e8627c542da8d8cce024655f88bcea120d /lite-xmlrpc.py
parent138305b365307a30d151ff144d5a1e0d95723293 (diff)
downloadfreeipa-47c736a90b845e3e96d99b06fac19e410d64e76b.tar.gz
freeipa-47c736a90b845e3e96d99b06fac19e410d64e76b.tar.xz
freeipa-47c736a90b845e3e96d99b06fac19e410d64e76b.zip
Cleaned up some funky indentation inconsistencies in lite-xmlrpc.py
Diffstat (limited to 'lite-xmlrpc.py')
-rwxr-xr-xlite-xmlrpc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lite-xmlrpc.py b/lite-xmlrpc.py
index 5e2112d70..73c7e0287 100755
--- a/lite-xmlrpc.py
+++ b/lite-xmlrpc.py
@@ -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