Bug 1177476 - Fix require_conditions regression in mach, r=gps

This is a regression from bug 1176620 that results in all Firefox mach commands showing up in the help for B2G, even though they don't work there.

--HG--
extra : rebase_source : e779b866a82c2df1dbf913d24b93a0dc9838ff9f
This commit is contained in:
Andrew Halberstadt 2015-06-25 15:44:11 -04:00
Родитель 8f7048a174
Коммит f8bb1d3236
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -144,7 +144,7 @@ def CommandProvider(cls):
seen_commands.add(command.name)
if command.conditions is None and Registrar.require_conditions:
if not command.conditions and Registrar.require_conditions:
continue
msg = 'Mach command \'%s\' implemented incorrectly. ' + \