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
changes/01/332501/1
maruel@chromium.org 11 years ago
parent 0bd95bcdc5
commit 552c31baf2

@ -2777,24 +2777,25 @@ def CMDformat(parser, args):
def CMDlol(parser, args): def CMDlol(parser, args):
# This command is intentionally undocumented. # This command is intentionally undocumented.
print(""" / / print('\n'.join((
(\/_//`) ' / /',
/ '/ ' (\\/_//`)',
0 0 \ ' / \'/',
/ \ ' 0 0 \\',
/ __/ \ ' / \\',
/, _/ \ \_ ' / __/ \\',
`-./ ) | ~^~^~^~^~^~^~^~\~. ' /, _/ \\ \\_',
( / \_} ' `-./ ) | ~^~^~^~^~^~^~^~\\~.',
| / | ' ( / \\_}',
; | \ / ' | / |',
\/ ,/ \ | ' ; | \\ /',
/ /~~|~|~~~~~~|~|\ | ' \\/ ,/ \\ |',
/ / | | | | `\ \ ' / /~~|~|~~~~~~|~|\\ |',
/ / | | | | \ \ ' / / | | | | `\\ \\',
/ ( | | | | \ \ ' / / | | | | \\ \\',
jgs /,_) /__) /__) /,_/ ' / ( | | | | \\ \\',
'''''"""""'''""""""'''""""""''"""""''''' """) ' jgs /,_) /__) /__) /,_/',
' \'\'\'\'\'"""""\'\'\'""""""\'\'\'""""""\'\'"""""\'\'\'\'\'')))
return 0 return 0

Loading…
Cancel
Save