pyhabitat 1.0.24__tar.gz → 1.0.26__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyhabitat might be problematic. Click here for more details.
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/PKG-INFO +1 -1
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat/cli.py +2 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat/environment.py +1 -1
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat.egg-info/PKG-INFO +1 -1
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyproject.toml +1 -1
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/LICENSE +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/README.md +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat/__init__.py +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat/__main__.py +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat/utils.py +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat.egg-info/SOURCES.txt +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat.egg-info/dependency_links.txt +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat.egg-info/entry_points.txt +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/pyhabitat.egg-info/top_level.txt +0 -0
- {pyhabitat-1.0.24 → pyhabitat-1.0.26}/setup.cfg +0 -0
|
@@ -54,7 +54,9 @@ def run_cli():
|
|
|
54
54
|
func = getattr(pyhabitat, args.command, None)
|
|
55
55
|
if callable(func):
|
|
56
56
|
print(func())
|
|
57
|
+
return # Exit after running the subcommand
|
|
57
58
|
else:
|
|
58
59
|
print(f"Unknown function: {args.command}")
|
|
60
|
+
return # Exit after reporting the unknown command
|
|
59
61
|
|
|
60
62
|
main(path=Path(args.path) if args.path else None, debug=args.debug)
|
|
@@ -561,7 +561,7 @@ def user_darrin_deyoung():
|
|
|
561
561
|
if not on_windows():
|
|
562
562
|
return False
|
|
563
563
|
username = getpass.getuser()
|
|
564
|
-
return username.lower()
|
|
564
|
+
return username.lower() == "darrin deyoung"
|
|
565
565
|
|
|
566
566
|
def can_spawn_shell(override_known:bool=False)->bool:
|
|
567
567
|
"""Check if a shell command can be executed successfully."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|