changeset 2338:a9994b1ad4ed

<oerjan> revert
author HackBot
date Fri, 01 Mar 2013 03:36:56 +0000
parents 2deb4597f9c9
children d693544a0ef5
files bin/colorize
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/colorize	Fri Mar 01 03:36:40 2013 +0000
+++ b/bin/colorize	Fri Mar 01 03:36:56 2013 +0000
@@ -4,6 +4,5 @@
 w=raw_input()
 p=list('x'*len(w)+'C'*int((341-len(w))/3+1))
 random.shuffle(p)
-p=list(re.sub(C+,C,.join(p)))
 i=(c for c in w)
 print ''.join(i.next() if c=='x' else chr(3)+'%02d' % random.randrange(2,15) for c in ['C']+p)