Mercurial > sqlpython
changeset 468:d0164c122938
final test on oracle
author | catherine@Drou |
---|---|
date | Wed, 03 Mar 2010 09:38:12 -0500 |
parents | e6df9ca78f31 |
children | dfe5a19e7390 |
files | setup.py sqlpython/sqlpyPlus.py |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Tue Mar 02 20:42:23 2010 -0500 +++ b/setup.py Wed Mar 03 09:38:12 2010 -0500 @@ -9,7 +9,7 @@ Operating System :: OS Independent""".splitlines() setup(name="sqlpython", - version="1.7.0", + version="1.7.1", 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="http://packages.python.org/sqlpython", packages=find_packages(), include_package_data=True, - install_requires=['pyparsing','cmd2>=0.6.0','gerald>=0.3.6', + install_requires=['pyparsing','cmd2>=0.6.1','gerald>=0.3.6', 'genshi>=0.5'], extras_require = { 'oracle': ['cx_Oracle>=5.0.2'],
--- a/sqlpython/sqlpyPlus.py Tue Mar 02 20:42:23 2010 -0500 +++ b/sqlpython/sqlpyPlus.py Wed Mar 03 09:38:12 2010 -0500 @@ -360,7 +360,6 @@ # TODO: read comments in psql # ls -l -# bind variables / quotes class sqlpyPlus(sqlpython.sqlpython): defaultExtension = 'sql' @@ -450,7 +449,7 @@ def dbms_output(self): "Dumps contents of Oracle's DBMS_OUTPUT buffer (where PUT_LINE goes)" try: - line = self.curs.var(cx_Oracle.STRING) # TODO: would regular string and number work? + line = self.curs.var(cx_Oracle.STRING) status = self.curs.var(cx_Oracle.NUMBER) self.curs.callproc('dbms_output.get_line', [line, status]) while not status.getvalue():