SF.net SVN: fclient: [426] trunk/sandbox/fcp2/client.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-06-29 15:19:11
|
Revision: 426
http://fclient.svn.sourceforge.net/fclient/?rev=426&view=rev
Author: jUrner
Date: 2008-06-29 08:19:20 -0700 (Sun, 29 Jun 2008)
Log Message:
-----------
logging
Modified Paths:
--------------
trunk/sandbox/fcp2/client.py
Modified: trunk/sandbox/fcp2/client.py
===================================================================
--- trunk/sandbox/fcp2/client.py 2008-06-29 15:19:09 UTC (rev 425)
+++ trunk/sandbox/fcp2/client.py 2008-06-29 15:19:20 UTC (rev 426)
@@ -288,7 +288,9 @@
##
###############################################################
def _captureEvent(self, event, request):
- if event != self.events.Idle:
+ if event == self.events.Idle:
+ consts.Logger.Event.log(consts.DebugVerbosity.Chatty, consts.LogMessages.EventTriggered + event.name)
+ else:
consts.Logger.Event.info(consts.LogMessages.EventTriggered + event.name)
@@ -1562,7 +1564,6 @@
else:
raise ValueError('Unsupported request type')
- #TODO: autoconvert keys to python classes???
msg = message.MessagesAll[msgName](URI=key)
contentType = msgParams.get('ContentType', None)
if contentType is not None:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|