SF.net SVN: fclient: [103] trunk/sandbox/fcp/fcp_2_0_requests.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-02-02 05:11:39
|
Revision: 103
http://fclient.svn.sourceforge.net/fclient/?rev=103&view=rev
Author: jurner
Date: 2008-02-01 21:11:43 -0800 (Fri, 01 Feb 2008)
Log Message:
-----------
combed over docs
Modified Paths:
--------------
trunk/sandbox/fcp/fcp_2_0_requests.py
Modified: trunk/sandbox/fcp/fcp_2_0_requests.py
===================================================================
--- trunk/sandbox/fcp/fcp_2_0_requests.py 2008-02-02 05:11:00 UTC (rev 102)
+++ trunk/sandbox/fcp/fcp_2_0_requests.py 2008-02-02 05:11:43 UTC (rev 103)
@@ -97,8 +97,7 @@
"""Adds a directory to be uploaded
@param name: target name
@param directory: (abspath) of the directory to be uploaded
- @param contentType: (str) content type of the file (if desired)
-
+
@note: if you add a directory, every attempt to add anything else will fail
"""
return self._addItem(
@@ -138,8 +137,8 @@
def getMessage(self, messageClass):
"""Returns the message for the request, ready to send the request to the node
- @param messageClass: (L{Message}) class to fill in
- @return: (L{Message}) instance
+ @param messageClass: (L{fcp2_0_message.Message}) class to fill in
+ @return: (L{fcp2_0_message.Message}) instance
"""
if self.keyType in (consts.KeyType.SSK, consts.KeyType.USK) and self.privateKey is None:
raise ValueError('For %s a public key is required' % self.keyType)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|