Bug 912004 - DeviceManager pushDir should take a timeout parameter; r=wlach

This commit is contained in:
Dan Minor 2013-09-03 15:13:38 -04:00
parent 9225fd4fbb
commit 1f3fb1cd20
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class DeviceManager(object):
"""
@abstractmethod
def pushDir(self, localDirname, remoteDirname, retryLimit=1):
def pushDir(self, localDirname, remoteDirname, retryLimit=1, timeout=None):
"""
Push local directory from host to remote directory on the device,
"""

View File

@ -363,7 +363,7 @@ class DeviceManagerSUT(DeviceManager):
if not self.dirExists(name):
self._runCmds([{ 'cmd': 'mkdr ' + name }])
def pushDir(self, localDir, remoteDir, retryLimit = None):
def pushDir(self, localDir, remoteDir, retryLimit=None, timeout=None):
retryLimit = retryLimit or self.retryLimit
self._logger.info("pushing directory: %s to %s" % (localDir, remoteDir))