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. |