From 80ec58db830d90f97f4bfd584a7023fe2c99ce4b Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Tue, 14 May 2019 15:14:19 +0200 Subject: Format import statements Signed-off-by: Ivan Kanakarakis --- src/saml2/pack.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/saml2/pack.py') 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 -- cgit v1.2.1