Closed Bug 1586173 Opened 6 years ago Closed 6 years ago

Python3 - dir recognition is inconsistent on Windows

Categories

(Conduit :: moz-phab, defect, P1)

Unspecified
Windows 10
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: zalun, Assigned: zalun)

Details

(Keywords: conduit-triaged)

HOME_DIR = os.path.expanduser("~")
# c:/Users/mozilla
MOZBUILD_PATH = os.path.join(os.path.join(HOME_DIR, ".mozbuild")), "moz-phab")
# c:/Users/mozilla\.mozbuild\moz-phab

expanduser is taking its value from $HOME

os.environ.get("HOME") # c:/Users/mozilla

I'm running the command from the mozilla-build shell where

$ echo $HOME
/c/Users/mozilla`

That was another issue, fixed in install_from_pypi

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.