SF.net SVN: fclient: [504] trunk/fcp2/src/fcp2/types.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-05 12:45:04
|
Revision: 504
http://fclient.svn.sourceforge.net/fclient/?rev=504&view=rev
Author: jUrner
Date: 2008-07-05 05:45:13 -0700 (Sat, 05 Jul 2008)
Log Message:
-----------
symbol names where broken
Modified Paths:
--------------
trunk/fcp2/src/fcp2/types.py
Modified: trunk/fcp2/src/fcp2/types.py
===================================================================
--- trunk/fcp2/src/fcp2/types.py 2008-07-05 12:42:19 UTC (rev 503)
+++ trunk/fcp2/src/fcp2/types.py 2008-07-05 12:45:13 UTC (rev 504)
@@ -155,10 +155,10 @@
result = clss.NumberPattern.split(value)
if len(result) == 3:
foo, foundInt, tail = result
- if tail in consts.TimeDeltaPostfix.MembersAll:
+ if tail in consts.ConstTimeDeltaPostfix.MembersAll:
num = int(foundInt)
return (num, tail)
- return (-1, consts.TimeDeltaPostfix.Second)
+ return (-1, consts.ConstTimeDeltaPostfix.Second)
class TypePercent(TypeFloat): pass
class TypeUri(Type): pass
@@ -199,13 +199,13 @@
result = clss.NumberPattern.split(value)
if len(result) == 4:
foo, foundFloat, foundInt, tail = result
- if tail in consts.ByteAmountPostfix.MembersAll:
+ if tail in consts.ConstByteAmountPostfix.MembersAll:
if foundFloat:
num = float(foundFloat)
else:
num = int(foundInt)
return (num, tail)
- return (-1, consts.ByteAmountPostfix.Bytes)
+ return (-1, consts.ConstByteAmountPostfix.Bytes)
class TypePercent(TypeFloat): pass
class TypeUri(Type): pass
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|