Ignore __main__ modules
This commit is contained in:
1 parent
3a7bc92863
commit
fa2712a128
3 files changed
+13
-7
No files matched your search
@@ -12,12 +12,12 @@ class Project(object):
|
||||
if sys_path is not None:
|
||||
self._base_sys_path = sys_path
|
||||
|
||||
venv = os.getenv('VIRTUAL_ENV')
|
||||
if venv:
|
||||
sys_path = get_venv_path(venv)
|
||||
|
||||
if sys_path is None:
|
||||
sys_path = sys.path
|
||||
venv = os.getenv('VIRTUAL_ENV')
|
||||
if venv:
|
||||
sys_path = get_venv_path(venv)
|
||||
else:
|
||||
sys_path = sys.path
|
||||
|
||||
base_sys_path = list(sys_path)
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user