[Zapp-cvs-commit] ZApp ZApp_Base.py,1.20.2.1,1.20.2.2 ZApp_LOG.py,1.3.4.1,1.3.4.2 ZApp_Specialist.py
Brought to you by:
sspickle
|
From: <ssp...@us...> - 2003-11-06 18:03:26
|
Update of /cvsroot/zapp/ZApp
In directory sc8-pr-cvs1:/tmp/cvs-serv3011
Modified Files:
Tag: CMF_relations
ZApp_Base.py ZApp_LOG.py ZApp_Specialist.py
Log Message:
fixed app meta type attr error
Index: ZApp_Base.py
===================================================================
RCS file: /cvsroot/zapp/ZApp/ZApp_Base.py,v
retrieving revision 1.20.2.1
retrieving revision 1.20.2.2
diff -C2 -d -r1.20.2.1 -r1.20.2.2
*** ZApp_Base.py 8 Oct 2003 20:37:47 -0000 1.20.2.1
--- ZApp_Base.py 6 Nov 2003 18:03:23 -0000 1.20.2.2
***************
*** 154,157 ****
--- 154,160 ----
meta_type = 'ZApp Base Type'
+
+ class_default_for_applicationMetaType=ZApp_Application.meta_type
+
testing = 0
_properties=()
Index: ZApp_LOG.py
===================================================================
RCS file: /cvsroot/zapp/ZApp/ZApp_LOG.py,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -d -r1.3.4.1 -r1.3.4.2
*** ZApp_LOG.py 8 Oct 2003 20:37:47 -0000 1.3.4.1
--- ZApp_LOG.py 6 Nov 2003 18:03:23 -0000 1.3.4.2
***************
*** 13,18 ****
LOG('ZApp',INFO,"Break Set for %s" % ZAPP_DEBUG_BREAK)
! def ZApp_LOG(message):
! if ZAPP_DEBUG:
! LOG('ZApp',INFO, message)
--- 13,18 ----
LOG('ZApp',INFO,"Break Set for %s" % ZAPP_DEBUG_BREAK)
! def ZApp_LOG(message, priority = INFO):
! if ZAPP_DEBUG or (priority > INFO):
! LOG('ZApp', priority, message)
Index: ZApp_Specialist.py
===================================================================
RCS file: /cvsroot/zapp/ZApp/ZApp_Specialist.py,v
retrieving revision 1.29.2.1
retrieving revision 1.29.2.2
diff -C2 -d -r1.29.2.1 -r1.29.2.2
*** ZApp_Specialist.py 8 Oct 2003 20:37:48 -0000 1.29.2.1
--- ZApp_Specialist.py 6 Nov 2003 18:03:23 -0000 1.29.2.2
***************
*** 6,10 ****
import os
! from ZApp_LOG import ZApp_LOG
from DateTime import DateTime
--- 6,10 ----
import os
! from ZApp_LOG import ZApp_LOG, INFO
from DateTime import DateTime
***************
*** 420,425 ****
! def ZApp_printDebugMessage(self, message):
! ZApp_LOG(message)
ZApp_print = ZApp_printDebugMessage
--- 420,425 ----
! def ZApp_printDebugMessage(self, message, priority=INFO):
! ZApp_LOG(message, priority)
ZApp_print = ZApp_printDebugMessage
|