MCPcopy 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_envMethod · 0.80

Calls 4

ExecShellMethod · 0.80
formatMethod · 0.45
return_profileMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected