[Zapp-cvs-commit] ZApp __init__.py,1.21,1.22
Brought to you by:
sspickle
|
From: <kfr...@us...> - 2004-02-04 09:30:27
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24114 Modified Files: __init__.py Log Message: I found problem importing ZApp_CMFBase with no FreeRangeDS product installed.. needed better error message. Index: __init__.py =================================================================== RCS file: /cvsroot/zapp/ZApp/__init__.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** __init__.py 25 Jan 2004 20:58:45 -0000 1.21 --- __init__.py 4 Feb 2004 01:58:39 -0000 1.22 *************** *** 15,19 **** import ZApp_RelationshipManager ! from ZApp_LOG import ZApp_LOG import mimetypes --- 15,19 ---- import ZApp_RelationshipManager ! from ZApp_LOG import ZApp_LOG, INFO import mimetypes *************** *** 22,25 **** --- 22,26 ---- mimetypes.types_map['.swd'] = 'application/octet-stream' + try: import ZApp_CMFBase *************** *** 29,32 **** --- 30,34 ---- except ImportError: do_cmf = 0 + ZApp_LOG("Ack! CMF not installed? FreeRangeDS? Something goofy... ", 100) from AccessControl import ClassSecurityInfo, ModuleSecurityInfo, Permission |