A few python3 fixes.
- Fix one implicit relative import. - Fix call to file builtin in test_env. - Fix deprecated lambda syntax.
This commit is contained in:
parent
cac73d251c
commit
d758df2ac9
@ -12,12 +12,14 @@ else:
|
||||
import configparser
|
||||
ustr = str
|
||||
uchr = chr
|
||||
file = None
|
||||
from urllib.parse import urlparse
|
||||
from urllib.request import urlopen
|
||||
from http.client import HTTPConnection
|
||||
|
||||
configparser = configparser
|
||||
input = input
|
||||
file = file
|
||||
|
||||
|
||||
def isbasestr(obj):
|
||||
|
@ -1 +1 @@
|
||||
from str_templates import *
|
||||
from . str_templates import *
|
||||
|
Loading…
x
Reference in New Issue
Block a user