changeset 453:da3317c8fbc0

must stop development
author catherine@Drou
date Tue, 16 Feb 2010 21:09:38 -0500
parents f87f804aab3b
children fc3eebc799fe
files sqlpython/mysqlpy.py sqlpython/sqlpyPlus.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/mysqlpy.py	Tue Feb 16 20:53:25 2010 -0500
+++ b/sqlpython/mysqlpy.py	Tue Feb 16 21:09:38 2010 -0500
@@ -183,8 +183,7 @@
     do_slect = do_sleect
 
 def run():
-    my=mysqlpy()
-    my.cmdloop()
+    mysqlpy().cmdloop()
     
 if __name__ == '__main__':    
     run()
\ No newline at end of file
--- a/sqlpython/sqlpyPlus.py	Tue Feb 16 20:53:25 2010 -0500
+++ b/sqlpython/sqlpyPlus.py	Tue Feb 16 21:09:38 2010 -0500
@@ -1643,6 +1643,7 @@
                 return
 
     def cmdloop(self):
+        # TODO: args past ; don't even get into sys.argv
         if sys.argv[1] in ('--test', '-t'):
             self.runTranscriptTests(sys.argv[2:])
         else: