Commit 552c31ba authored by maruel@chromium.org's avatar maruel@chromium.org

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
parent 0bd95bcd
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment