mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 04:10:15 +01:00
Patch isolation flag
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
|
||||
|
||||
__all__ = ['decode', 'find_spec', 'isolation_flag']
|
||||
__all__ = ['decode', 'find_spec']
|
||||
|
||||
|
||||
def decode(s):
|
||||
@@ -22,10 +22,6 @@ if sys.version_info[0] == 2:
|
||||
def find_spec(name):
|
||||
return ModuleSpec(name, imp.find_module(name)[1])
|
||||
|
||||
isolation_flag = '-sE'
|
||||
|
||||
else:
|
||||
import importlib
|
||||
find_spec = importlib.util.find_spec
|
||||
|
||||
isolation_flag = '-I'
|
||||
|
||||
Reference in New Issue
Block a user