# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1222371620 14400 # Node ID d5917f02ae838dd0b1f0f828a0dd34c3a711c9e2 # Parent 7e5105efa15de8d1611226ce71a6d63678529f66 html output switched to genshi diff -r 7e5105efa15d -r d5917f02ae83 setup.py --- a/setup.py Tue Sep 23 07:43:11 2008 -0400 +++ b/setup.py Thu Sep 25 15:40:20 2008 -0400 @@ -18,7 +18,7 @@ packages=find_packages(), py_modules = ['mysqlpy','completion','sqlpyPlus','sqlpython','pexpecter'], include_package_data=True, - install_requires=['pyparsing','cmd2>=0.3.6','cx_Oracle'], + install_requires=['pyparsing','cmd2>=0.3.6','cx_Oracle','genshi'], keywords = 'client oracle database', license = 'MIT', platforms = ['any'], diff -r 7e5105efa15d -r d5917f02ae83 sqlpyPlus.py --- a/sqlpyPlus.py Tue Sep 23 07:43:11 2008 -0400 +++ b/sqlpyPlus.py Thu Sep 25 15:40:20 2008 -0400 @@ -186,7 +186,7 @@ """ } -import sys, os, re, sqlpython, cx_Oracle, pyparsing, re, completion +import sys, os, re, sqlpython, cx_Oracle, pyparsing, re, completion, genshi from cmd2 import Cmd, make_option, options, Statekeeper if float(sys.version[:3]) < 2.3: @@ -408,55 +408,64 @@ for row in self.rows] return '\n'.join(result) + xml_template = genshi.template.MarkupTemplate(''' +