diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2019-05-14 15:14:19 +0200 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2019-05-14 15:14:19 +0200 |
commit | 80ec58db830d90f97f4bfd584a7023fe2c99ce4b (patch) | |
tree | 2549572a140e965d82f6471b9b55922c9f035e62 | |
parent | 66f912c3a0ac65e97b9e6409539bfab4b3cc7447 (diff) | |
download | pysaml2-80ec58db830d90f97f4bfd584a7023fe2c99ce4b.tar.gz |
Format import statements
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
-rw-r--r-- | src/saml2/pack.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/saml2/pack.py b/src/saml2/pack.py index cad55dfb..fc651645 100644 --- a/src/saml2/pack.py +++ b/src/saml2/pack.py @@ -8,9 +8,10 @@ Bindings normally consists of three parts: """ import base64 -# [DeprecationWarning] Fixed: cgi.escape is deprecated, use html.escape instead -try: import html -except: import cgi as html +try: + import html +except: + import cgi as html import logging |