mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 785238 - Should catch AgentError inside devicemanagerSUT's getInfo. r=wlach
This commit is contained in:
parent
0811c9e233
commit
c792d9d6bf
@ -934,7 +934,11 @@ class DeviceManagerSUT(DeviceManager):
|
||||
directives = [directive]
|
||||
|
||||
for d in directives:
|
||||
data = self.runCmds([{ 'cmd': 'info ' + d }])
|
||||
try:
|
||||
data = self.runCmds([{ 'cmd': 'info ' + d }])
|
||||
except AgentError:
|
||||
return result
|
||||
|
||||
if (data is None):
|
||||
continue
|
||||
data = collapseSpaces.sub(' ', data)
|
||||
|
Loading…
Reference in New Issue
Block a user