mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 912004 - DeviceManager pushDir should take a timeout parameter; r=wlach
This commit is contained in:
parent
9225fd4fbb
commit
1f3fb1cd20
@ -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,
|
||||
"""
|
||||
|
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user