SF.net SVN: fclient:[790] trunk/fclient/src/fclient/impl/lib/fcp2
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-27 20:57:04
|
Revision: 790
http://fclient.svn.sourceforge.net/fclient/?rev=790&view=rev
Author: jUrner
Date: 2008-07-27 20:57:12 +0000 (Sun, 27 Jul 2008)
Log Message:
-----------
revert laszt checkin. we can not deal with invalid keys. wait for bug reports..
Modified Paths:
--------------
trunk/fclient/src/fclient/impl/lib/fcp2/__init__.py
trunk/fclient/src/fclient/impl/lib/fcp2/key.py
Modified: trunk/fclient/src/fclient/impl/lib/fcp2/__init__.py
===================================================================
--- trunk/fclient/src/fclient/impl/lib/fcp2/__init__.py 2008-07-27 20:05:32 UTC (rev 789)
+++ trunk/fclient/src/fclient/impl/lib/fcp2/__init__.py 2008-07-27 20:57:12 UTC (rev 790)
@@ -22,7 +22,7 @@
ConstRequestModified, ConstRequestStatus, ConstPutMultiple, ConstReturnType,
ConstTimeDeltaPostfix, ConstUploadFrom, ConstVerbosity, Error, ErrorIOBroken, ErrorIOClosed,
ErrorIOConnectFailed, ErrorIOTimeout, ErrorMessageParse, FcpFalse, FcpTrue)
-from .key import (ErrorKey, Key, KeyAny, KeyCHK, KeyKSK, KeySSK, KeyTypesAll, KeyUSK, TypeKey, base64UrlsaveDecode, keyNormkey)
+from .key import (ErrorKey, Key, KeyCHK, KeyKSK, KeySSK, KeyTypesAll, KeyUSK, TypeKey, base64UrlsaveDecode, keyNormkey)
from .message import (MessagesAll, MsgAddPeer, MsgAllData, MsgClientDisconnected, MsgClientGet, MsgClientHello,
MsgClientPut, MsgClientPutComplexDir, MsgClientPutDiskDir, MsgClientSocketDied,
MsgClientSocketTimeout, MsgCloseConnectionDuplicateClientName, MsgConfigData, MsgDataFound,
Modified: trunk/fclient/src/fclient/impl/lib/fcp2/key.py
===================================================================
--- trunk/fclient/src/fclient/impl/lib/fcp2/key.py 2008-07-27 20:05:32 UTC (rev 789)
+++ trunk/fclient/src/fclient/impl/lib/fcp2/key.py 2008-07-27 20:57:12 UTC (rev 790)
@@ -134,20 +134,6 @@
raise NotImplementedError()
-class KeyAny(object):
- """key object that may contain any string, wether it is a vlaid key or not
- """
- def __init__(self, string):
- self.string = string
-
- def toString(self):
- return self.string
-
- @classmethod
- def fromString(clss, string):
- self.key = string
-
-
class KeyCHK(_KeyBase):
""""""
_key_pattern_ = '''
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|