[Cvsshell-devel] CVS: cvsshell/src configurable_app.py,1.1.1.1,1.2
Status: Beta
Brought to you by:
stefanheimann
From: Stefan H. <ste...@us...> - 2002-03-07 10:40:03
|
Update of /cvsroot/cvsshell/cvsshell/src In directory usw-pr-cvs1:/tmp/cvs-serv28524 Modified Files: configurable_app.py Log Message: StringTypes is only available in python 2.2, so I removed it from _getFun Index: configurable_app.py =================================================================== RCS file: /cvsroot/cvsshell/cvsshell/src/configurable_app.py,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** configurable_app.py 7 Mar 2002 00:03:23 -0000 1.1.1.1 --- configurable_app.py 7 Mar 2002 10:40:00 -0000 1.2 *************** *** 58,62 **** string, the module the function is contained in is loaded and the name of the function is evaluated.""" ! if type(fun) in types.StringTypes: if fun == '': return None try: --- 58,62 ---- string, the module the function is contained in is loaded and the name of the function is evaluated.""" ! if type(fun) is types.StringType: if fun == '': return None try: |