mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-05 21:02:36 +01:00
Updated pylint for v1.5.1
Fixed WA for the latest version of pylint (1.5.1)
This commit is contained in:
@@ -222,11 +222,7 @@ def poll_for_file(device, dfile):
|
||||
command = "adb " + device_string + " shell \" if [ -f " + dfile + " ] ; then true ; else false ; fi\" "
|
||||
logger.debug(command)
|
||||
result = subprocess.call(command, stderr=subprocess.PIPE, shell=True)
|
||||
if not result:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
return not bool(result)
|
||||
|
||||
am_start_error = re.compile(r"Error: Activity class {[\w|.|/]*} does not exist")
|
||||
|
||||
|
Reference in New Issue
Block a user