From: <jb...@us...> - 2009-12-26 01:15:42
|
Revision: 439 http://pytrainer.svn.sourceforge.net/pytrainer/?rev=439&view=rev Author: jblance Date: 2009-12-26 01:15:32 +0000 (Sat, 26 Dec 2009) Log Message: ----------- More DB check fixes Modified Paths: -------------- pytrainer/trunk/pytrainer/lib/sqliteUtils.py pytrainer/trunk/pytrainer/main.py Modified: pytrainer/trunk/pytrainer/lib/sqliteUtils.py =================================================================== --- pytrainer/trunk/pytrainer/lib/sqliteUtils.py 2009-12-26 01:06:05 UTC (rev 438) +++ pytrainer/trunk/pytrainer/lib/sqliteUtils.py 2009-12-26 01:15:32 UTC (rev 439) @@ -266,8 +266,8 @@ def addColumn(self,tableName,columnName,dataType): sql = "alter table %s add %s %s" %(tableName,columnName,dataType) try: - self.ddbbObject.freeExec(sql) + self.freeExec(sql) except: logging.error('Not able to add/change column '+columnName+' to table '+tableName) - traceback.print_exc() + #traceback.print_exc() Modified: pytrainer/trunk/pytrainer/main.py =================================================================== --- pytrainer/trunk/pytrainer/main.py 2009-12-26 01:06:05 UTC (rev 438) +++ pytrainer/trunk/pytrainer/main.py 2009-12-26 01:15:32 UTC (rev 439) @@ -97,7 +97,7 @@ def __init__(self,filename = None, data_path = None): logging.debug('>>') self.data_path = data_path - self.version ="1.7.0_svn#438" + self.version ="1.7.0_svn#439" self.date = Date() main_dir = os.path.realpath(os.path.dirname(__file__)) #why? sys.path.insert(0, main_dir) #why? This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |