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

Unified Diff: scripts/common/chromium_utils.py

Issue 1468053008: Add LogDog bootstrapping to `annotated_run.py`. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Merged into `annotated_run.py`. Created 5 years, 1 month 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: scripts/common/chromium_utils.py
diff --git a/scripts/common/chromium_utils.py b/scripts/common/chromium_utils.py
index a053d5a7eaaaaa5b3e1d93706af44f1ab8c347b3..0f49a1cf45e65710bb0431930f3bc2b61d5cbd47 100644
--- a/scripts/common/chromium_utils.py
+++ b/scripts/common/chromium_utils.py
@@ -1446,6 +1446,11 @@ def convert_gz_json(option, _, value, parser):
json.loads(zlib.decompress(base64.b64decode(value))))
+def convert_gz_json_type(value):
+ """Provide an OptionParser callback to unmarshal a b64 gz JSON string."""
+ return json.loads(zlib.decompress(base64.b64decode(value)))
iannucci 2015/12/01 02:12:46 why does this have the same docstring as the funct
dnj 2015/12/01 02:39:09 Copy/paste :/
+
+
def SafeTranslate(inputstr):
"""Convert a free form string to one that can be used in a path.

Powered by Google App Engine
This is Rietveld 408576698