Bug 785238 - Should catch AgentError inside devicemanagerSUT's getInfo. r=wlach

This commit is contained in:
Joel Maher 2012-08-24 09:53:27 -04:00
parent 0811c9e233
commit c792d9d6bf

View File

@ -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)