Mercurial > sqlpython
comparison 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 |
comparison
equal
deleted
inserted
replaced
66:e5054588bf9b | 67:d0bf9e40ba8d |
---|---|
110 result = self.fail(arg) | 110 result = self.fail(arg) |
111 if not result: | 111 if not result: |
112 print str(e) | 112 print str(e) |
113 | 113 |
114 def do_commit(self, arg): | 114 def do_commit(self, arg): |
115 self.default('commit %s' % (arg), do_everywhere=True) | 115 self.default('commit %s;' % (arg), do_everywhere=True) |
116 def do_rollback(self, arg): | 116 def do_rollback(self, arg): |
117 self.default('rollback %s' % (arg), do_everywhere=True) | 117 self.default('rollback %s;' % (arg), do_everywhere=True) |
118 | 118 |
119 # shortcuts | 119 # shortcuts |
120 do_q = do_quit | 120 do_q = do_quit |
121 do_exit = do_quit | 121 do_exit = do_quit |
122 | 122 |