Get rid of environ_item function

This commit is contained in:
gryf committed 2020-06-17 17:56:31 +02:00
1 parent 927e4fe978
commit b1ae3f74f4
3 files changed
+5 -12

No files matched your search

-6
View File
@@ -20,12 +20,6 @@ def error_message(exc):
return str(exc)
def environ_item(x):
if isinstance(x, bytes):
x = x.decode('utf-8')
return x
def exec_path(path, ctx=None):
ctx = ctx or {}
with open(path, 'rb') as f: