зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1028746 - Running mach mochitest-remote from gecko srcdir raises AttributeError instead of being helpful, r=gps, DONTBUILD, a=NPOTB
This commit is contained in:
Родитель
40d81a2ba5
Коммит
b11804bb36
|
@ -739,7 +739,10 @@ class MachCommands(MachCommandBase):
|
|||
# they should be modified to work with all devices.
|
||||
def is_emulator(cls):
|
||||
"""Emulator needs to be configured."""
|
||||
return cls.device_name.startswith('emulator')
|
||||
try:
|
||||
return cls.device_name.startswith('emulator')
|
||||
except AttributeError:
|
||||
return False
|
||||
|
||||
|
||||
@CommandProvider
|
||||
|
|
Загрузка…
Ссылка в новой задаче