aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElis Axelsson <elis.axelsson@gmail.com>2012-08-18 18:47:02 +0200
committerElis Axelsson <elis.axelsson@gmail.com>2012-08-18 18:47:02 +0200
commit3bb5a68d7f081225fa6a77e2537fe62650c872fc (patch)
tree21cb6b996aae1b900814c9ef94dfac8b7955bce4
parent88baa565a0be9f623d0aa52c0d3148c234b51516 (diff)
downloadponysay-3bb5a68d7f081225fa6a77e2537fe62650c872fc.tar.gz
ponysay-3bb5a68d7f081225fa6a77e2537fe62650c872fc.tar.bz2
ponysay-3bb5a68d7f081225fa6a77e2537fe62650c872fc.zip
Drop newline at end of file of ponyquotes
-rwxr-xr-xponysay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay.py b/ponysay.py
index 632445d..5c45ed9 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -353,7 +353,7 @@ class ponysay():
qfile = None
try:
qfile = open(pair[1], 'r')
- args.message = '\n'.join(qfile.readlines())
+ args.message = '\n'.join(qfile.readlines()).strip()
finally:
if qfile is not None:
qfile.close()