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

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: rebase vs tot and only disabling F0401 in specific spots Created 6 years, 10 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/pylib/ports.py ('k') | build/android/pylib/system_properties.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/screenshot.py
diff --git a/build/android/pylib/screenshot.py b/build/android/pylib/screenshot.py
index e2734eb2bdd577151b93807d02e50c7ca2eed2f1..7fac54a27d7e690b97ae06516a593e7ed913d7f2 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 pylib 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):
« no previous file with comments | « build/android/pylib/ports.py ('k') | build/android/pylib/system_properties.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698