diff sqlpython.py @ 67:d0bf9e40ba8d

eliminate double-semicolon on commit
author catherine@DellZilla.myhome.westell.com
date Mon, 07 Apr 2008 12:17:16 -0400
parents 2fd2f54648ea
children 83de0cb04f12
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