mirror of https://github.com/OpenKMIP/PyKMIP.git
Merge pull request #71 from OpenKMIP/bug/fix-server-log-pep8
Fixing pep8 errors for the KMIP server
This commit is contained in:
commit
fe1c586035
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue