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

Unified Diff: build/android/pylib/screenshot.py

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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
Index: build/android/pylib/screenshot.py
diff --git a/build/android/pylib/screenshot.py b/build/android/pylib/screenshot.py
index e2734eb2bdd577151b93807d02e50c7ca2eed2f1..a603169a2ea6024df57fc53263b16bc9e3d13c81 100644
--- a/build/android/pylib/screenshot.py
+++ b/build/android/pylib/screenshot.py
@@ -6,12 +6,11 @@ import os
import tempfile
import time
-import android_commands
-import cmd_helper
+from . import cmd_helper
def _GetTimestamp():
- return time.strftime('%Y-%m-%d-%H%M%S', time.localtime())
+ return time.strftime('%Y-%m-%d-%H%M%S', time.localtime())
def _EnsureHostDirectory(host_file):

Powered by Google App Engine
This is Rietveld 408576698