diff sqlpyPlus.py @ 48:ce2b64554091

oops, output back to stdout
author catherine.devlin@gmail.com
date Tue, 01 Apr 2008 16:59:45 -0400
parents 46b7b31dc395
children 4931f32c8ff5
line wrap: on
line diff
--- a/sqlpyPlus.py	Tue Apr 01 16:58:13 2008 -0400
+++ b/sqlpyPlus.py	Tue Apr 01 16:59:45 2008 -0400
@@ -511,7 +511,7 @@
             self.desc = self.curs.description
             self.rc = self.curs.rowcount
             if self.rc > 0:
-                print '\n' + self.output(terminator, rowlimit)
+                self.stdout.write('\n%s\n' % (self.output(terminator, rowlimit)))
             if self.rc == 0:
                 print '\nNo rows Selected.\n'
             elif self.rc == 1: