Closed
Bug 1803338
Opened 2 years ago
Closed 2 years ago
Incorrect Usage of rmtree in packageit.py
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rf, Assigned: ahochheiden)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Steps to reproduce:
- Clone https://hg.mozilla.org/mozilla-build
- Start the Mozilla Build Shell (
start-shell.bat
) - Run
./packageit.py
Actual results:
The script errored with:
Traceback (most recent call last):
File "C:\mozilla-source\mozilla-build\packageit.py", line 216, in <module>
shutil.rmtree(locale_path)
NameError: name 'shutil' is not defined
Expected results:
packageit.py
should not have errored and should have run till completion.
shutil.rmtree
should be replaced with rmtree
on the following line https://hg.mozilla.org/mozilla-build/file/tip/packageit.py#l216
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → ahochheiden
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by ahochheiden@mozilla.com:
https://hg.mozilla.org/mozilla-build/rev/2c18776dd6ff
Correctly call rmtree
when removing the locale
dir r=firefox-build-system-reviewers,nalexander
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•