changeset 67:d0bf9e40ba8d

eliminate double-semicolon on commit
author catherine@DellZilla.myhome.westell.com
date Mon, 07 Apr 2008 12:17:16 -0400
parents e5054588bf9b
children ffd095bf466c
files sqlpython.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython.py	Mon Apr 07 09:56:25 2008 -0400
+++ b/sqlpython.py	Mon Apr 07 12:17:16 2008 -0400
@@ -112,9 +112,9 @@
                 print str(e)
             
     def do_commit(self, arg):
-        self.default('commit %s' % (arg), do_everywhere=True)
+        self.default('commit %s;' % (arg), do_everywhere=True)
     def do_rollback(self, arg):
-        self.default('rollback %s' % (arg), do_everywhere=True)        
+        self.default('rollback %s;' % (arg), do_everywhere=True)        
         
     # shortcuts
     do_q = do_quit