From 81bdc7251be2347938b4708ec9005b2550e7e7ac Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 30 May 2017 11:51:02 +0100 Subject: [PATCH] AndroidDevice: Pylint Fix --- wlauto/common/android/device.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wlauto/common/android/device.py b/wlauto/common/android/device.py index 73eb1393..d21da38a 100644 --- a/wlauto/common/android/device.py +++ b/wlauto/common/android/device.py @@ -722,7 +722,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223 appropriate method of forcing a re-index of the mediaserver cache for a given list of files. """ - if self.device.is_rooted or self.device.get_sdk_version() < 24: # MM and below + if self.device.is_rooted or self.device.get_sdk_version() < 24: # MM and below common_path = commonprefix(file_list, sep=self.device.path.sep) self.broadcast_media_mounted(common_path, self.device.is_rooted) else: @@ -743,9 +743,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223 command = 'am broadcast -a android.intent.action.MEDIA_MOUNTED -d file://' self.execute(command + dirpath, as_root=as_root) - # Internal methods: do not use outside of the class. - def _update_build_properties(self, props): try: def strip(somestring):