changeset 213:a3eeea9ee8cc 1.5.2

synched with cmd2 0.4.5
author catherine@Elli.myhome.westell.com
date Wed, 28 Jan 2009 13:13:15 -0500
parents 37936b3a50a0
children 82b27298c516
files setup.py sqlpython/mysqlpy.py sqlpython/sqlpyPlus.py sqlpython/sqlpython.py
diffstat 4 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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'],
--- 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
 # 
 #
--- 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, {})
--- 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