mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 06:34:13 +00:00 
			
		
		
		
	pylint/pep8 fixes
- android/workload: emoved an extra bank line between methods - trace_cmd: define member attribute inside __init__ - adb_shell: ignore pylint warning about too many branches in this case
This commit is contained in:
		| @@ -266,6 +266,7 @@ am_start_error = re.compile(r"Error: Activity class {[\w|.|/]*} does not exist") | ||||
|  | ||||
|  | ||||
| def adb_shell(device, command, timeout=None, check_exit_code=False, as_root=False):  # NOQA | ||||
|     # pylint: disable=too-many-branches | ||||
|     _check_env() | ||||
|     if as_root: | ||||
|         command = 'echo \'{}\' | su'.format(escape_single_quotes(command)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user