SF.net SVN: fclient: [171] trunk/sandbox/fcp/fcp2_0_requests.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <ju...@us...> - 2008-02-07 23:49:39
|
Revision: 171 http://fclient.svn.sourceforge.net/fclient/?rev=171&view=rev Author: jurner Date: 2008-02-07 15:49:44 -0800 (Thu, 07 Feb 2008) Log Message: ----------- some fixes Modified Paths: -------------- trunk/sandbox/fcp/fcp2_0_requests.py Modified: trunk/sandbox/fcp/fcp2_0_requests.py =================================================================== --- trunk/sandbox/fcp/fcp2_0_requests.py 2008-02-07 23:49:12 UTC (rev 170) +++ trunk/sandbox/fcp/fcp2_0_requests.py 2008-02-07 23:49:44 UTC (rev 171) @@ -185,7 +185,7 @@ if params['FcItemType'] == self.ItemTypeData: msg.data = params['FcData'] - if self.keyType == consts.Keytype.CHK: + if self.keyType == consts.KeyType.CHK: msg['TargetFilename'] = targetFilename @@ -217,13 +217,12 @@ if not msg.data: msg.data = None - - + # determine Uri if self.keyType == consts.KeyType.CHK: msg['URI'] = consts.KeyType.CHK elif self.keyType == consts.KeyType.KSK: - msg['URI'] = consts.KeyType.KSK + '/' + targetFilename + msg['URI'] = consts.KeyType.KSK + targetFilename elif self.keyType == consts.KeyType.SSK: msg['URI'] = self.privateKey + targetFilename elif self.keyType == consts.KeyType.USK: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |