# HG changeset patch # User catherine@Drou # Date 1267627092 18000 # Node ID d0164c122938882c4db919a28a907654ec298ddf # Parent e6df9ca78f31cea2f90edab4560507929a3435bb final test on oracle diff -r e6df9ca78f31 -r d0164c122938 setup.py --- 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'], diff -r e6df9ca78f31 -r d0164c122938 sqlpython/sqlpyPlus.py --- 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():