Get rid of environ_item function
This commit is contained in:
1 parent
927e4fe978
commit
b1ae3f74f4
3 files changed
+5
-12
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user