SF.net SVN: fclient:[706] trunk/fclient/src/fclient/lib/fcp2/client.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-07-21 10:36:57
|
Revision: 706 http://fclient.svn.sourceforge.net/fclient/?rev=706&view=rev Author: jUrner Date: 2008-07-21 10:36:11 +0000 (Mon, 21 Jul 2008) Log Message: ----------- update progress on successful completion Modified Paths: -------------- trunk/fclient/src/fclient/lib/fcp2/client.py Modified: trunk/fclient/src/fclient/lib/fcp2/client.py =================================================================== --- trunk/fclient/src/fclient/lib/fcp2/client.py 2008-07-21 10:32:57 UTC (rev 705) +++ trunk/fclient/src/fclient/lib/fcp2/client.py 2008-07-21 10:36:11 UTC (rev 706) @@ -818,6 +818,7 @@ initialRequest['RequestStatus'] |= consts.ConstRequestStatus.Success initialRequest['MetadataContentType'] = msg.get('Metadata.ContentType', '') initialRequest['MetadataSize'] = msg.get('DataLength', '') + initialRequest['ProgressSucceeeded'] = initialRequest['ProgressRequired'] # except from GetData all requests are complete here. Next GetData will run through AllData... @@ -1002,6 +1003,7 @@ # we ignore them initialRequest['RequestStatus'] |= consts.ConstRequestStatus.Success initialRequest['URI'] = msg['URI'] + initialRequest['ProgressSucceeeded'] = initialRequest['ProgressRequired'] self._finalizeRequest(msg, initialRequest, self.events.RequestCompleted) return True This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |