SF.net SVN: fclient: [285] trunk/sandbox/fcp2/consts.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-02-27 00:13:10
|
Revision: 285
http://fclient.svn.sourceforge.net/fclient/?rev=285&view=rev
Author: jurner
Date: 2008-02-26 16:13:16 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
beautifications
Modified Paths:
--------------
trunk/sandbox/fcp2/consts.py
Modified: trunk/sandbox/fcp2/consts.py
===================================================================
--- trunk/sandbox/fcp2/consts.py 2008-02-27 00:13:02 UTC (rev 284)
+++ trunk/sandbox/fcp2/consts.py 2008-02-27 00:13:16 UTC (rev 285)
@@ -30,14 +30,25 @@
#************************************************************************
#
#************************************************************************
-
+ConfigKeySep = '.'
FcpTrue = 'true'
FcpFalse = 'false'
-# errors
+class ConfigDataType:
+ """Basic data types in config messages"""
+ Boolean = 'boolean'
+ Number = 'number'
+ String = 'string'
+ StringArray = 'atringArray'
+
+ TypesAll = (
+ Boolean,
+ Number,
+ String,
+ StringArray,
+ )
-ConfigKeySep = '.'
class ConfigValueClass:
"""Value classes Fcp passes in config messages"""
@@ -63,21 +74,6 @@
)
-class ConfigDataType:
- """Basic data types in config messages"""
- Boolean = 'boolean'
- Number = 'number'
- String = 'string'
- StringArray = 'atringArray'
-
- TypesAll = (
- Boolean,
- Number,
- String,
- StringArray,
- )
-
-
class FetchError(Exception):
"""All fetch errors supported by the client"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|