fix(codex): remove unused import stat
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -666,7 +666,6 @@ def list_user_homes():
|
|||||||
if IS_MACOS:
|
if IS_MACOS:
|
||||||
# macOS: pwd.getpwall() is unreliable (Directory Services).
|
# macOS: pwd.getpwall() is unreliable (Directory Services).
|
||||||
# Scan /Users/ directly + /var/root for root.
|
# Scan /Users/ directly + /var/root for root.
|
||||||
import stat as st
|
|
||||||
for base in ["/Users", "/var/root"]:
|
for base in ["/Users", "/var/root"]:
|
||||||
if base == "/var/root":
|
if base == "/var/root":
|
||||||
if os.path.isdir(base):
|
if os.path.isdir(base):
|
||||||
|
|||||||
Reference in New Issue
Block a user