From: <ki...@us...> - 2003-04-08 19:27:51
|
Update of /cvsroot/pymerase/pymerase/pymerase/output In directory sc8-pr-cvs1:/tmp/cvs-serv18554 Modified Files: CreatePyTkWidgets.py CreatePyTkDBWidgets.py Log Message: updated to support pymweb... if it can't prompt for the DBAPI name generated for the user, it save the api name as 'DUMMY_API' which will then need to be changed by the user. Index: CreatePyTkWidgets.py =================================================================== RCS file: /cvsroot/pymerase/pymerase/pymerase/output/CreatePyTkWidgets.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** CreatePyTkWidgets.py 18 Feb 2003 18:42:08 -0000 1.13 --- CreatePyTkWidgets.py 8 Apr 2003 19:27:47 -0000 1.14 *************** *** 148,157 **** # (Needs more information) templateDict = {} ! ! print "" ! print "\a" ! templateDict['%DBAPI%'] = raw_input("Enter DBAPI Name: ") ! print "" ! print "" checkDestination(destination) --- 148,163 ---- # (Needs more information) templateDict = {} ! ! try: ! print "" ! print "\a" ! apiName = raw_input("Enter DBAPI Name: ") ! print "" ! print "" ! except EOFError: ! apiName = 'DUMMY_API' ! ! templateDict['%DBAPI%'] = apiName ! checkDestination(destination) Index: CreatePyTkDBWidgets.py =================================================================== RCS file: /cvsroot/pymerase/pymerase/pymerase/output/CreatePyTkDBWidgets.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CreatePyTkDBWidgets.py 12 Feb 2003 20:00:56 -0000 1.4 --- CreatePyTkDBWidgets.py 8 Apr 2003 19:27:48 -0000 1.5 *************** *** 85,94 **** templateDict = {} ! ! print "" ! print "\a" ! templateDict['%DBAPI%'] = raw_input("Enter DBAPI Name: ") ! print "" ! print "" checkDestination(destination) --- 85,97 ---- templateDict = {} ! ! try: ! print "" ! print "\a" ! templateDict['%DBAPI%'] = raw_input("Enter DBAPI Name: ") ! print "" ! print "" ! except EOFError: ! templateDict['%DBAPI%'] = 'DUMMY_API' checkDestination(destination) |