summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-06-05 14:30:56 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2010-06-05 14:40:19 -0400
commit88a2b9047e61c784c2c1e78c3d2434eaaebc8bd0 (patch)
tree9d52a5c6fcb889899e3baaf86c293f418d1a23e5 /.gitignore
parent69b9b04d4a1176cc73ce3cc76384af8450434cc2 (diff)
Fix problem with stray spaces
Python adds a space character between consecutive calls to print when the first print doesn't end in a newline. To avoid problems with this, use <file>.write() rather than print when: * We might be printing something empty * The newline after the line is added via echoed user input on the terminal Tracked down by William Jon McCann <william.jon.mccann@gmail.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions