Closed
Bug 932133
Opened 11 years ago
Closed 11 years ago
Error out when entries in *SOURCES have an unknown file type
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla28
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file, 2 obsolete files)
3.12 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
As noted in bug 929905 comment 12.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #823723 -
Flags: review?(gps)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
Was using get instead of setdefault. Oops.
Attachment #823751 -
Flags: review?(gps)
Assignee | ||
Comment 3•11 years ago
|
||
Was using get instead of setdefault. Oops.
Attachment #823752 -
Flags: review?(gps)
Assignee | ||
Updated•11 years ago
|
Attachment #823723 -
Attachment is obsolete: true
Attachment #823723 -
Flags: review?(gps)
Assignee | ||
Updated•11 years ago
|
Attachment #823751 -
Attachment is obsolete: true
Attachment #823751 -
Flags: review?(gps)
Comment 4•11 years ago
|
||
Comment on attachment 823752 [details] [diff] [review]
Error out when entries in *SOURCES have an unknown file type
Review of attachment 823752 [details] [diff] [review]:
-----------------------------------------------------------------
A test would be nice. But I'm in a generous mood this morning.
::: python/mozbuild/mozbuild/frontend/emitter.py
@@ +203,2 @@
> )
> + for var, map in varmap.items():
Nit: Please don't override the built-in "var" and "map" symbols.
@@ +203,4 @@
> )
> + for var, map in varmap.items():
> + if sandbox[var]:
> + for f in sandbox[var]:
You can probably just use the for loop since sandbox[var] should return an empty list.
Attachment #823752 -
Flags: review?(gps) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•