Mercurial > sqlpython
diff mysqlpy.py @ 65:047f82acdc8f
merging in bugfixes & pgsql additions
author | catherine@cordelia |
---|---|
date | Mon, 07 Apr 2008 09:51:18 -0400 |
parents | 1a52de2c541e 4f80329a1905 |
children | fa8c9eb8908f |
line wrap: on
line diff
--- a/mysqlpy.py Mon Apr 07 09:37:55 2008 -0400 +++ b/mysqlpy.py Mon Apr 07 09:51:18 2008 -0400 @@ -9,7 +9,7 @@ # http://catherine.devlin.googlepages.com/ from sqlpyPlus import * -import binascii +import binascii, sys class mysqlpy(sqlpyPlus): ''' @@ -156,6 +156,10 @@ def run(): my=mysqlpy() print my.__doc__ + try: + my.do_connect(sys.argv[1]) + except IndexError: + pass my.cmdloop() if __name__ == '__main__':