Permalink
Browse files

make it py2-3 compatible

  • Loading branch information...
leifj committed Feb 5, 2019
1 parent b58a594 commit cc5bf0e453892dd30a1994f3c1383defff898a2b
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/pyff/mdx.py
@@ -71,11 +71,12 @@
from .i18n import language
from . import samlmd
import six
from cgi import escape

if six.PY2:
from cgi import escape
_ = language.ugettext
else:
from html import escape
_ = language.gettext

log = get_log(__name__)

0 comments on commit cc5bf0e

Please sign in to comment.