Update of /cvsroot/pymerase/pymerase/pymerase/output
In directory sc8-pr-cvs1:/tmp/cvs-serv18331
Modified Files:
CreatePyTkWidgets.py CreatePyTkDBWidgets.py
Log Message:
if it can't get user input, choose the package name as the dbapi name.
Index: CreatePyTkWidgets.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/pymerase/output/CreatePyTkWidgets.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** CreatePyTkWidgets.py 8 Apr 2003 19:27:47 -0000 1.14
--- CreatePyTkWidgets.py 8 Apr 2003 22:42:26 -0000 1.15
***************
*** 156,160 ****
print ""
except EOFError:
! apiName = 'DUMMY_API'
templateDict['%DBAPI%'] = apiName
--- 156,162 ----
print ""
except EOFError:
! #FIXME: Needs to be updated when full packages support is
! # added to pymerase.
! apiName = classList[0].getPackage()
templateDict['%DBAPI%'] = apiName
Index: CreatePyTkDBWidgets.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/pymerase/output/CreatePyTkDBWidgets.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CreatePyTkDBWidgets.py 8 Apr 2003 19:27:48 -0000 1.5
--- CreatePyTkDBWidgets.py 8 Apr 2003 22:42:26 -0000 1.6
***************
*** 93,97 ****
print ""
except EOFError:
! templateDict['%DBAPI%'] = 'DUMMY_API'
checkDestination(destination)
--- 93,99 ----
print ""
except EOFError:
! #FIXME: Needs to be updated when full package support is added
! # to pymerase.
! templateDict['%DBAPI%'] = classList[0].getPackage()
checkDestination(destination)
|