From 097bd38910cb4e2786a668035e26d974363da16d Mon Sep 17 00:00:00 2001 From: Peter Hamilton Date: Mon, 3 Aug 2015 10:52:27 -0400 Subject: [PATCH] Fixing pep8 errors for the KMIP server This change fixes pep8 whitespace errors in the KMIP server. --- kmip/services/kmip_server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kmip/services/kmip_server.py b/kmip/services/kmip_server.py index 78d4ce8..70bf333 100644 --- a/kmip/services/kmip_server.py +++ b/kmip/services/kmip_server.py @@ -66,11 +66,12 @@ class KMIPServer(object): factory = KMIPProtocolFactory() protocol = factory.getProtocol(connection) + try: while True: self._processor.process(protocol, protocol) except Exception as e: - self.logger.error('KMIPServer {0} {1}'.format(type(e),e)) + self.logger.error('KMIPServer {0} {1}'.format(type(e), e)) connection.close() def _set_variables(self, host, port, keyfile, certfile, cert_reqs,