Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1494)

Unified Diff: build/android/update_verification.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/tombstones.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/update_verification.py
diff --git a/build/android/update_verification.py b/build/android/update_verification.py
index c73a06156fb8ba1bfe2da3ae1fe5d33604aa64d0..4731c6501b779273e3a1e385fabe2631760ac8b3 100755
--- a/build/android/update_verification.py
+++ b/build/android/update_verification.py
@@ -26,11 +26,8 @@ and ask the user to verify that all of the app data was preserved.
import argparse
import logging
-import os
import sys
-import time
-from pylib import constants
from devil.android import apk_helper
from devil.android import device_blacklist
from devil.android import device_errors
@@ -42,7 +39,7 @@ def CreateAppData(device, old_apk, app_data, package_name):
raw_input('Set the application state. Once ready, press enter and '
'select "Backup my data" on the device.')
device.adb.Backup(app_data, packages=[package_name])
- logging.critical('Application data saved to %s' % app_data)
+ logging.critical('Application data saved to %s', app_data)
def TestUpdate(device, old_apk, new_apk, app_data, package_name):
device.Install(old_apk)
@@ -99,7 +96,7 @@ def main():
if not devices:
raise device_errors.NoDevicesError()
device = devices[0]
- logging.info('Using device %s for testing.' % str(device))
+ logging.info('Using device %s for testing.', str(device))
package_name = (args.package_name if args.package_name
else apk_helper.GetPackageName(args.old_apk))
« no previous file with comments | « build/android/tombstones.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698