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

Unified Diff: build/android/buildbot/bb_utils.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: build/android/buildbot/bb_utils.py
diff --git a/build/android/buildbot/bb_utils.py b/build/android/buildbot/bb_utils.py
index 3c16cc2bc5b243d4db1c7b1eeb8f3c5a948862c1..969655f520e095d7a268c9ecba34073bde1cee9f 100644
--- a/build/android/buildbot/bb_utils.py
+++ b/build/android/buildbot/bb_utils.py
@@ -33,7 +33,7 @@ GSUTIL_PATH = os.path.join(BB_BUILD_DIR, 'third_party', 'gsutil', 'gsutil')
def CommandToString(command):
"""Returns quoted command that can be run in bash shell."""
- return ' '.join(map(pipes.quote, command))
+ return ' '.join(pipes.quote(c) for c in command)
perezju 2015/09/04 09:01:53 maybe cmd_helper.SingleQuote?
jbudorick 2015/09/04 16:51:55 done
def SpawnCmd(command, stdout=None, cwd=CHROME_SRC):

Powered by Google App Engine
This is Rietveld 408576698