summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2015-11-01 15:27:52 -0800
committerRoland Hedberg <roland.hedberg@adm.umu.se>2015-11-01 15:27:52 -0800
commit343b4eed40f56e5c8e47457bcd9858554c73855c (patch)
tree976a4331b2ef4c267000ac3aeaad464ab1862aad /example
parent95eff3820597da40bce5387b53a954ff106f7f2b (diff)
downloadpysaml2-343b4eed40f56e5c8e47457bcd9858554c73855c.tar.gz
PEP-8 formatting
Diffstat (limited to 'example')
-rwxr-xr-xexample/idp2/idp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/example/idp2/idp.py b/example/idp2/idp.py
index 5e78d36f..682e9cf7 100755
--- a/example/idp2/idp.py
+++ b/example/idp2/idp.py
@@ -5,9 +5,7 @@ import importlib
import logging
import os
import re
-import socket
import time
-import ssl
from Cookie import SimpleCookie
from hashlib import sha1
@@ -1072,7 +1070,8 @@ if __name__ == '__main__':
_https = ""
if CONFIG.HTTPS:
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"
logger.info("Server starting")
print("IDP listening on %s:%s%s" % (HOST, PORT, _https))