Mercurial > sqlpython
comparison sqlpython.py @ 41:33c9bc61db66
separation surgery successful?
author | devlinjs@FA7CZA6N1254998.wrightpatterson.afmc.ds.af.mil |
---|---|
date | Fri, 18 Jan 2008 15:37:45 -0500 |
parents | 1fb9f7dee7d8 |
children | 2fd2f54648ea |
comparison
equal
deleted
inserted
replaced
40:1fb9f7dee7d8 | 41:33c9bc61db66 |
---|---|
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 |
123 stmtEndSearchString = r'(.*)(%s)\s*(\d+)?\s*$' % sqlpython.terminatorSearchString | 123 stmtEndSearchString = r'(.*)(%s)\s*(\d+)?\s*$' % terminatorSearchString |
124 statementEndPattern = re.compile(stmtEndSearchString, re.MULTILINE | re.DOTALL) | 124 statementEndPattern = re.compile(stmtEndSearchString, re.MULTILINE | re.DOTALL) |
125 | 125 |
126 def pmatrix(rows,desc,maxlen=30): | 126 def pmatrix(rows,desc,maxlen=30): |
127 '''prints a matrix, used by sqlpython to print queries' result sets''' | 127 '''prints a matrix, used by sqlpython to print queries' result sets''' |
128 names = [] | 128 names = [] |