Closed
Bug 869345
Opened 12 years ago
Closed 12 years ago
"mach help" shouldn't throw a keyerror exception if you pass it an unknown topic
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Gijs, Unassigned)
Details
Attachments
(1 file)
|
1.40 KB,
patch
|
Details | Diff | Splinter Review |
Trying to figure out how to run jetpack tests with mach, I ran:
"mach help jetpack"
as a first guess. That made mach sad, and it went all:
KeyError: 'jetpack'
File "c:\dev\jamun\python/mach\mach\main.py", line 214, in run
return self._run(argv)
File "c:\dev\jamun\python/mach\mach\main.py", line 260, in _run
handler = Registrar.command_handlers[args.subcommand]
on me.
It shouldn't do that. :-)
| Reporter | ||
Comment 1•12 years ago
|
||
Something like this? :-)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #746281 -
Flags: review?(gps)
Comment 2•12 years ago
|
||
Comment on attachment 746281 [details] [diff] [review]
Patch
This bug may have been fixed by the landing of bug 856392. In either case, I'm 95% confident you got bit rot by it.
Attachment #746281 -
Flags: review?(gps)
| Reporter | ||
Comment 3•12 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #2)
> Comment on attachment 746281 [details] [diff] [review]
> Patch
>
> This bug may have been fixed by the landing of bug 856392. In either case,
> I'm 95% confident you got bit rot by it.
Fixed, complete with clippy and all. Nice work, thanks! :-)
Assignee: gijskruitbosch+bugs → nobody
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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
•