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

Unified Diff: git_cl.py

Issue 557143002: Fix ascii art escaping. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Made a list Created 6 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
« 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 a9b237652aa61badc7d1ceb2b0888aa44455c21a..69af5455bc09891be134452a2206c0a87b66fde6 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2777,24 +2777,25 @@ def CMDformat(parser, args):
def CMDlol(parser, args):
# This command is intentionally undocumented.
- print(""" / /
- (\/_//`)
- / '/
- 0 0 \
- / \
- / __/ \
- /, _/ \ \_
- `-./ ) | ~^~^~^~^~^~^~^~\~.
- ( / \_}
- | / |
- ; | \ /
- \/ ,/ \ |
- / /~~|~|~~~~~~|~|\ |
- / / | | | | `\ \
- / / | | | | \ \
- / ( | | | | \ \
- jgs /,_) /__) /__) /,_/
- '''''"""""'''""""""'''""""""''"""""''''' """)
+ print('\n'.join((
+ ' / /',
+ ' (\\/_//`)',
+ ' / \'/',
+ ' 0 0 \\',
+ ' / \\',
+ ' / __/ \\',
+ ' /, _/ \\ \\_',
+ ' `-./ ) | ~^~^~^~^~^~^~^~\\~.',
+ ' ( / \\_}',
+ ' | / |',
+ ' ; | \\ /',
+ ' \\/ ,/ \\ |',
+ ' / /~~|~|~~~~~~|~|\\ |',
+ ' / / | | | | `\\ \\',
+ ' / / | | | | \\ \\',
+ ' / ( | | | | \\ \\',
+ ' jgs /,_) /__) /__) /,_/',
+ ' \'\'\'\'\'"""""\'\'\'""""""\'\'\'""""""\'\'"""""\'\'\'\'\'')))
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