diff cmd2.py @ 269:8f68e68033d4

poutput etc.
author Catherine Devlin <catherine.devlin@gmail.com>
date Wed, 08 Apr 2009 18:26:58 -0400
parents 3333e61e7103
children 194160b7f091
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):