changeset 95:84a26822e28c

was crashing on print
author catherine@cordelia
date Sun, 25 May 2008 05:31:00 -0400
parents 5df8e2477ca3
children 5e274ecfd679
files sqlpyPlus.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpyPlus.py	Sun May 25 05:22:34 2008 -0400
+++ b/sqlpyPlus.py	Sun May 25 05:31:00 2008 -0400
@@ -780,7 +780,7 @@
             if arg[0] == ':':
                 arg = arg[1:]
             try:
-                self.stdout.write(self.binds[arg]+'\n')
+                self.stdout.write(str(self.binds[arg])+'\n')
             except KeyError:
                 self.stdout.write('No bind variable %s\n' % arg)
         else: