SF.net SVN: fclient: [390] trunk/sandbox/fcp2/key.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-04-09 08:08:02
|
Revision: 390
http://fclient.svn.sourceforge.net/fclient/?rev=390&view=rev
Author: jUrner
Date: 2008-04-09 01:08:07 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
docs
Modified Paths:
--------------
trunk/sandbox/fcp2/key.py
Modified: trunk/sandbox/fcp2/key.py
===================================================================
--- trunk/sandbox/fcp2/key.py 2008-04-09 08:04:37 UTC (rev 389)
+++ trunk/sandbox/fcp2/key.py 2008-04-09 08:08:07 UTC (rev 390)
@@ -72,6 +72,10 @@
"""Metaclass for freenet keys"""
def __new__(klass, name, bases, kws):
+ """Registers a key type to L{KeyTypesAll}
+ @note: if KeyType of the the key type is None it will not get registered
+ """
+
newClass = type.__new__(klass, name, bases, kws)
if newClass.KeyType is not None:
KeyTypesAll[newClass.KeyType] = newClass
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|