dotpy/step — pull request #2 by suurjaak (2014-03-27 13:54:02+00:00)
Title: Strip-option removes *all* leading and trailing white-space.

I made another change you might want to merge back: the strip function did not remove the very final trailing whitespace. For example "some string\n\n" would be stripped to "some string\n". This change would strip it to "some string".

At least, this made sense in my usage, as I'm also producing TXT output, where trailing newlines make a difference.