Mercurial > sqlpython
diff mysqlpy.py @ 97:9c5371b5edf4
added assumeComplete
author | catherine@cordelia |
---|---|
date | Sun, 25 May 2008 20:25:56 -0400 |
parents | 5df8e2477ca3 |
children | 4aa28dffe658 |
line wrap: on
line diff
--- a/mysqlpy.py Sun May 25 05:46:22 2008 -0400 +++ b/mysqlpy.py Sun May 25 20:25:56 2008 -0400 @@ -170,7 +170,7 @@ if sys.argv[1][0] != '@': my.do_connect(sys.argv.pop(1)) for arg in sys.argv[1:]: - if my.onecmd(arg + ';') == my._STOP_AND_EXIT: + if my.onecmd(arg, assumeComplete=True) == my._STOP_AND_EXIT: # ugh, filename gets ; appended return except IndexError: pass