Fix ascii art escaping.
This was done because a line ending with a '\' will not be printed properly.
Completely escape the string.
R=stip@chromium.org
BUG=
Review URL: https://codereview.chromium.org/557143002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291906 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index a9b2376..69af545 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2777,24 +2777,25 @@
def CMDlol(parser, args):
# This command is intentionally undocumented.
- print(""" / /
- (\/_//`)
- / '/
- 0 0 \
- / \
- / __/ \
- /, _/ \ \_
- `-./ ) | ~^~^~^~^~^~^~^~\~.
- ( / \_}
- | / |
- ; | \ /
- \/ ,/ \ |
- / /~~|~|~~~~~~|~|\ |
- / / | | | | `\ \
- / / | | | | \ \
- / ( | | | | \ \
- jgs /,_) /__) /__) /,_/
- '''''"""""'''""""""'''""""""''"""""''''' """)
+ print('\n'.join((
+ ' / /',
+ ' (\\/_//`)',
+ ' / \'/',
+ ' 0 0 \\',
+ ' / \\',
+ ' / __/ \\',
+ ' /, _/ \\ \\_',
+ ' `-./ ) | ~^~^~^~^~^~^~^~\\~.',
+ ' ( / \\_}',
+ ' | / |',
+ ' ; | \\ /',
+ ' \\/ ,/ \\ |',
+ ' / /~~|~|~~~~~~|~|\\ |',
+ ' / / | | | | `\\ \\',
+ ' / / | | | | \\ \\',
+ ' / ( | | | | \\ \\',
+ ' jgs /,_) /__) /__) /,_/',
+ ' \'\'\'\'\'"""""\'\'\'""""""\'\'\'""""""\'\'"""""\'\'\'\'\'')))
return 0