# HG changeset patch # User HackBot # Date 1451781413 0 # Node ID 5f592a885f04ac5040a226cdc231c56a125d5396 # Parent 9ae470a31c522e74f37a2e58c2da2883022f8ad1 revert 6483 diff -r 9ae470a31c52 -r 5f592a885f04 bin/loudly --- a/bin/loudly Sun Jan 03 00:35:47 2016 +0000 +++ b/bin/loudly Sun Jan 03 00:36:53 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, locale.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)) +cyc = itertools.cycle(["\00304,09","\00309,04"]) +print "".join(cyc.next() + c for c in inp) diff -r 9ae470a31c52 -r 5f592a885f04 bin/loudlye --- a/bin/loudlye Sun Jan 03 00:35:47 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)