SF.net SVN: fclient: [469] trunk/fcp2/src/fcp2/config.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-01 13:25:27
|
Revision: 469
http://fclient.svn.sourceforge.net/fclient/?rev=469&view=rev
Author: jUrner
Date: 2008-07-01 06:24:16 -0700 (Tue, 01 Jul 2008)
Log Message:
-----------
a few fixes
Modified Paths:
--------------
trunk/fcp2/src/fcp2/config.py
Modified: trunk/fcp2/src/fcp2/config.py
===================================================================
--- trunk/fcp2/src/fcp2/config.py 2008-07-01 13:23:33 UTC (rev 468)
+++ trunk/fcp2/src/fcp2/config.py 2008-07-01 13:24:16 UTC (rev 469)
@@ -70,7 +70,7 @@
#****************************************************************************************
ConfigKeySep = '.'
-class ConfigDataType:#
+class ConfigDataType:
"""Basic data types in config messages"""
Boolean = 'boolean'
Number = 'number'
@@ -343,7 +343,7 @@
out.append(parent.name)
parent = parent.parent
out.reverse()
- return consts.ConfigKeySep.join(out)
+ return ConfigKeySep.join(out)
def walk(self):
@@ -430,8 +430,8 @@
@return: (str) key
@note: if the key does not contain the paramClass it is returned unchanged
"""
- head, tail = message.ConfigMessageParamTypes.splitParamClass(key)
- if head in message.ConfigMessageParamTypes.ParamClasses:
+ head, tail = _ConfigMessageParamTypes.splitParamClass(key)
+ if head in _ConfigMessageParamTypes.ParamClasses:
return tail
return tail
@@ -446,7 +446,7 @@
continue
key = node.key()
- result = node.values.get(consts.ConfigValueClass.Current, None)
+ result = node.values.get(ConfigValueClass.Current, None)
if result is not None:
out[key] = result[0]
return out
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|