Fix __future__ import.
This commit is contained in:
parent
44aac5f362
commit
278f09f080
1 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,8 @@ Secretary
|
||||||
result = engine.render(template_var1=...)
|
result = engine.render(template_var1=...)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import unicode_literals, print_function
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
@ -22,7 +24,6 @@ import logging
|
||||||
import zipfile
|
import zipfile
|
||||||
from xml.dom.minidom import parseString
|
from xml.dom.minidom import parseString
|
||||||
from jinja2 import Environment, Undefined
|
from jinja2 import Environment, Undefined
|
||||||
from __future__ import unicode_literals, print_function
|
|
||||||
|
|
||||||
# Test python versions and normalize calls to basestring, unicode, etc.
|
# Test python versions and normalize calls to basestring, unicode, etc.
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue