SF.net SVN: fclient: [386] trunk/sandbox/fcp2/config.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-04-09 07:45:03
|
Revision: 386
http://fclient.svn.sourceforge.net/fclient/?rev=386&view=rev
Author: jUrner
Date: 2008-04-09 00:45:07 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
moved more logging stuff to consts
Modified Paths:
--------------
trunk/sandbox/fcp2/config.py
Modified: trunk/sandbox/fcp2/config.py
===================================================================
--- trunk/sandbox/fcp2/config.py 2008-04-09 07:44:59 UTC (rev 385)
+++ trunk/sandbox/fcp2/config.py 2008-04-09 07:45:07 UTC (rev 386)
@@ -130,8 +130,7 @@
self.parent = None
self.name = None
self.children = {}
- self._log = logging.getLogger(consts.LoggerNames.Config)
-
+
if configDataMsg is not None:
for key, value in configDataMsg.params.items():
self.addNewValue(key, value)
@@ -166,7 +165,7 @@
paramType = message.ConfigMessageParamTypes.get(key, None)
if paramType is None:
paramType = types.FcpType
- self._log.warning('Unknown key: %r' % components)
+ consts.Logger.Config.warning('Unknown key: %r' % components)
# find or create new config item if necessary
components = message.ConfigMessageParamTypes.splitAll(components)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|