PEP-8 formatting
This commit is contained in:
@@ -5,9 +5,7 @@ import importlib
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import socket
|
|
||||||
import time
|
import time
|
||||||
import ssl
|
|
||||||
|
|
||||||
from Cookie import SimpleCookie
|
from Cookie import SimpleCookie
|
||||||
from hashlib import sha1
|
from hashlib import sha1
|
||||||
@@ -1072,7 +1070,8 @@ if __name__ == '__main__':
|
|||||||
_https = ""
|
_https = ""
|
||||||
if CONFIG.HTTPS:
|
if CONFIG.HTTPS:
|
||||||
SRV.ssl_adapter = ssl_pyopenssl.pyOpenSSLAdapter(CONFIG.SERVER_CERT,
|
SRV.ssl_adapter = ssl_pyopenssl.pyOpenSSLAdapter(CONFIG.SERVER_CERT,
|
||||||
CONFIG.SERVER_KEY, CONFIG.CERT_CHAIN)
|
CONFIG.SERVER_KEY,
|
||||||
|
CONFIG.CERT_CHAIN)
|
||||||
_https = " using SSL/TLS"
|
_https = " using SSL/TLS"
|
||||||
logger.info("Server starting")
|
logger.info("Server starting")
|
||||||
print("IDP listening on %s:%s%s" % (HOST, PORT, _https))
|
print("IDP listening on %s:%s%s" % (HOST, PORT, _https))
|
||||||
|
Reference in New Issue
Block a user