Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaPanel/BaoTa
/ profile_check_use
Method
profile_check_use
mod/project/python/pyenv_tool.py:455–457 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
453
454
@classmethod
455
def
profile_check_use(cls):
456
out, _ = public.ExecShell(
"lsattr {}"
.format(cls.return_profile()))
457
return
out.find(
"--i"
) == -1
458
459
@staticmethod
460
def
_remove_old_python_env():
Callers
1
set_profile_env
Method · 0.80
Calls
4
ExecShell
Method · 0.80
format
Method · 0.45
return_profile
Method · 0.45
find
Method · 0.45
Tested by
no test coverage detected