# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1233166395 18000 # Node ID a3eeea9ee8ccdd95cb63c6c691a37d701b6e9aa6 # Parent 37936b3a50a0c4ad197a4ba43d651e62cf0d236a synched with cmd2 0.4.5 diff -r 37936b3a50a0 -r a3eeea9ee8cc setup.py --- a/setup.py Tue Jan 27 15:33:40 2009 -0500 +++ b/setup.py Wed Jan 28 13:13:15 2009 -0500 @@ -9,7 +9,7 @@ Operating System :: OS Independent""".splitlines() setup(name="sqlpython", - version="1.5.1", + version="1.5.2", description="Command-line interface to Oracle", long_description="Customizable alternative to Oracle's SQL*PLUS command-line interface", author="Luca Canali", @@ -17,7 +17,7 @@ url="https://twiki.cern.ch/twiki/bin/view/PSSGroup/SqlPython", packages=find_packages(), include_package_data=True, - install_requires=['pyparsing','cmd2>=0.4.4','cx_Oracle','genshi>=0.5'], + install_requires=['pyparsing','cmd2>=0.4.5','cx_Oracle','genshi>=0.5'], keywords = 'client oracle database', license = 'MIT', platforms = ['any'], diff -r 37936b3a50a0 -r a3eeea9ee8cc sqlpython/mysqlpy.py --- a/sqlpython/mysqlpy.py Tue Jan 27 15:33:40 2009 -0500 +++ b/sqlpython/mysqlpy.py Wed Jan 28 13:13:15 2009 -0500 @@ -1,5 +1,5 @@ #!/usr/bin/python -# MySqlPy V1.5.1 +# MySqlPy V1.5.2 # Author: Luca.Canali@cern.ch # # diff -r 37936b3a50a0 -r a3eeea9ee8cc sqlpython/sqlpyPlus.py --- a/sqlpython/sqlpyPlus.py Tue Jan 27 15:33:40 2009 -0500 +++ b/sqlpython/sqlpyPlus.py Wed Jan 28 13:13:15 2009 -0500 @@ -838,7 +838,7 @@ statekeeper.restore() def do_exec(self, arg): - if arg[0] == ':': + if arg.startswith(':'): self.do_setbind(arg[1:]) else: varsUsed = findBinds(arg, self.binds, {}) diff -r 37936b3a50a0 -r a3eeea9ee8cc sqlpython/sqlpython.py --- a/sqlpython/sqlpython.py Tue Jan 27 15:33:40 2009 -0500 +++ b/sqlpython/sqlpython.py Wed Jan 28 13:13:15 2009 -0500 @@ -1,5 +1,5 @@ # -# SqlPython V1.5.1 +# SqlPython V1.5.2 # Author: Luca.Canali@cern.ch, Apr 2006 # Rev 29-May-08 # @@ -10,7 +10,7 @@ import cmd2,getpass,binascii,cx_Oracle,re,os import sqlpyPlus -__version__ = '1.5.1' +__version__ = '1.5.2' # complication! separate sessions -> # separate transactions !!!!! # also: timeouts, other session failures