Skip to content

The agent that grows with you

fix: remove function-level 'import time as _time' that shadowed the module import

Teknium04acfb9673c6
diff --git a/hermes_cli/update_cmd.py b/hermes_cli/update_cmd.py
index 3b5acaa514b..021b7656feb 100644
--- a/hermes_cli/update_cmd.py
+++ b/hermes_cli/update_cmd.py
@@ -5895,8 +5895,6 @@ def _cmd_update_impl(args, gateway_mode: bool):
or ""
).strip()
if _cur_branch and _cur_branch != branch:
- import time as _time
-
print(
f" ⚠ Checkout is on custom branch '{_cur_branch}' — "
f"merging origin/{branch} instead of resetting so local commits survive..."