Skip to content

Commit 80ec58d

Browse files
committed
Format import statements
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 66f912c commit 80ec58d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/saml2/pack.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
"""
99

1010
import base64
11-
# [DeprecationWarning] Fixed: cgi.escape is deprecated, use html.escape instead
12-
try: import html
13-
except: import cgi as html
11+
try:
12+
import html
13+
except:
14+
import cgi as html
1415

1516
import logging
1617

0 commit comments

Comments
 (0)