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

Unified Diff: git_cl.py

Issue 695113002: Be a bit more space-efficient. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: . Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index bd65e12b02e4b30162e46c54f72bd25ecbb453b6..bd58fc1727fd9ea6ab13ad21c035612f7691b859 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -8,6 +8,7 @@
"""A git-command for integrating reviews on Rietveld."""
from distutils.version import LooseVersion
+import base64
import glob
import json
import logging
@@ -22,6 +23,7 @@ import threading
import urllib2
import urlparse
import webbrowser
+import zlib
try:
import readline # pylint: disable=F0401,W0611
@@ -2823,25 +2825,11 @@ def CMDformat(parser, args):
def CMDlol(parser, args):
# This command is intentionally undocumented.
- print('\n'.join((
- ' / /',
- ' (\\/_//`)',
- ' / \'/',
- ' 0 0 \\',
- ' / \\',
- ' / __/ \\',
- ' /, _/ \\ \\_',
- ' `-./ ) | ~^~^~^~^~^~^~^~\\~.',
- ' ( / \\_}',
- ' | / |',
- ' ; | \\ /',
- ' \\/ ,/ \\ |',
- ' / /~~|~|~~~~~~|~|\\ |',
- ' / / | | | | `\\ \\',
- ' / / | | | | \\ \\',
- ' / ( | | | | \\ \\',
- ' jgs /,_) /__) /__) /,_/',
- ' \'\'\'\'\'"""""\'\'\'""""""\'\'\'""""""\'\'"""""\'\'\'\'\'')))
+ print zlib.decompress(base64.b64decode(
+ 'eNptkLEOwyAMRHe+wupCIqW57v0Vq84WqWtXyrcXnCBsmgMJ+/SSAxMZgRB6NzE'
+ 'E2ObgCKJooYdu4uAQVffUEoE1sRQLxAcqzd7uK2gmStrll1ucV3uZyaY5sXyDd9'
+ 'JAnN+lAXsOMJ90GANAi43mq5/VeeacylKVgi8o6F1SC63FxnagHfJUTfUYdCR/W'
+ 'Ofe+0dHL7PicpytKP750Fh1q2qnLVof4w8OZWNY'))
return 0
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698