changeset 269:8f68e68033d4

poutput etc.
author Catherine Devlin <catherine.devlin@gmail.com>
date Wed, 08 Apr 2009 18:26:58 -0400
parents f03c4f951ca6
children 194160b7f091
files cmd2.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cmd2.py	Tue Apr 07 18:28:29 2009 -0400
+++ b/cmd2.py	Wed Apr 08 18:26:58 2009 -0400
@@ -273,7 +273,7 @@
     def poutput(self, msg):
         self.stdout.write(msg)
         if msg[-1] != '\n':
-            self.stdout('\n')
+            self.stdout.write('\n')
     def perror(self, errmsg):
         print str(errmsg)
     def pfeedback(self, msg):