mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1127457 - Fix check for zip in devicemanagerADB.py; r=armenzg
This commit is contained in:
parent
451ea54d50
commit
a2e1094131
@ -693,8 +693,13 @@ class DeviceManagerADB(DeviceManager):
|
||||
return False
|
||||
|
||||
def _isLocalZipAvailable(self):
|
||||
def _noOutput(line):
|
||||
# suppress output from zip ProcessHandler
|
||||
pass
|
||||
try:
|
||||
self._checkCmd(["zip", "-?"])
|
||||
proc = ProcessHandler(["zip", "-?"], storeOutput=False, processOutputLine=_noOutput)
|
||||
proc.run()
|
||||
proc.wait()
|
||||
except:
|
||||
return False
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user