diff example/example.py @ 301:30af90fd46c5

refactor mostly done?
author catherine@dellzilla
date Tue, 26 Jan 2010 18:04:20 -0500
parents dfdbd93a2fae
children 1941e54cb776
line wrap: on
line diff
--- a/example/example.py	Tue Jan 26 17:39:29 2010 -0500
+++ b/example/example.py	Tue Jan 26 18:04:20 2010 -0500
@@ -17,7 +17,7 @@
         """Repeats what you tell me to."""
         arg = ''.join(arg)
         if opts.piglatin:
-            arg = '%s%say' % (arg[1:], arg[0])
+            arg = '%s%say' % (arg[1:].rstrip(), arg[0])
         if opts.shout:
             arg = arg.upper()
         repetitions = opts.repeat or 1