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

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..526c68ed5fde5aad60acb8460f3a2dc4105071e8 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2823,25 +2823,12 @@ def CMDformat(parser, args):
def CMDlol(parser, args):
# This command is intentionally undocumented.
- print('\n'.join((
- ' / /',
- ' (\\/_//`)',
- ' / \'/',
- ' 0 0 \\',
- ' / \\',
- ' / __/ \\',
- ' /, _/ \\ \\_',
- ' `-./ ) | ~^~^~^~^~^~^~^~\\~.',
- ' ( / \\_}',
- ' | / |',
- ' ; | \\ /',
- ' \\/ ,/ \\ |',
- ' / /~~|~|~~~~~~|~|\\ |',
- ' / / | | | | `\\ \\',
- ' / / | | | | \\ \\',
- ' / ( | | | | \\ \\',
- ' jgs /,_) /__) /__) /,_/',
- ' \'\'\'\'\'"""""\'\'\'""""""\'\'\'""""""\'\'"""""\'\'\'\'\'')))
+ import base64, zlib
M-A Ruel 2014/11/01 23:34:18 Please import at the top.
Nico 2014/11/02 02:16:39 Done.
+ 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