# HG changeset patch # User HackBot # Date 1451781567 0 # Node ID 14ff5d127fdfdcb86c69dd5053c092476e882588 # Parent 6eacacd165b338cab4cfe456411ccae9e62c37fc revert 6483 diff -r 6eacacd165b3 -r 14ff5d127fdf bin/loudly --- a/bin/loudly Sun Jan 03 00:38:49 2016 +0000 +++ b/bin/loudly Sun Jan 03 00:39:27 2016 +0000 @@ -1,5 +1,5 @@ #!/usr/bin/env python -import sys, itertools, locale +import sys, itertools inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input() cyc = itertools.cycle(["\00304,09","\00309,04"]) -print "".join(cyc.next() + c for c in unicode(inp, locale.nl_langinfo(locale.CODESET))).encode(locale.nl_langinfo(locale.CODESET)) +print "".join(cyc.next() + c for c in inp) diff -r 6eacacd165b3 -r 14ff5d127fdf bin/loudlye --- a/bin/loudlye Sun Jan 03 00:38:49 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#!/usr/bin/env python -import sys, itertools -inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input() -cyc = itertools.cycle(["\00304,09","\00309,04"]) -print "".join(cyc.next() + c for c in inp)