changeset 97:9c5371b5edf4

added assumeComplete
author catherine@cordelia
date Sun, 25 May 2008 20:25:56 -0400
parents 5e274ecfd679
children 2619e81c5772
files mysqlpy.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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