PEP-8 formatting

This commit is contained in:
Roland Hedberg
2015-11-01 15:27:52 -08:00
parent 95eff38205
commit 343b4eed40

View File

@@ -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))