зеркало из https://github.com/mozilla/gecko-dev.git
Bug 691779 - Hide devicemanagerADB pull interfering with reftest output. r=jmaher
This commit is contained in:
Родитель
7dda89bb11
Коммит
9199395844
|
@ -285,8 +285,10 @@ class DeviceManagerADB(DeviceManager):
|
|||
# success: output of pullfile, string
|
||||
# failure: None
|
||||
def getFile(self, remoteFile, localFile = 'tmpfile_dm_adb'):
|
||||
# TODO: add debug flags and allow for printing stdout
|
||||
# self.runCmd(["pull", remoteFile, localFile])
|
||||
try:
|
||||
self.checkCmd(["pull", remoteFile, localFile])
|
||||
self.runCmd(["pull", remoteFile, localFile]).stdout.read()
|
||||
f = open(localFile)
|
||||
ret = f.read()
|
||||
f.close()
|
||||
|
|
Загрузка…
Ссылка в новой задаче