Changes between Initial Version and Version 1 of Ticket #393, comment 124
- Timestamp:
- 2011-08-13T20:34:48Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #393, comment 124
initial v1 25 25 26 26 * {{{self._paused}}} seems to be {{{True}}} whenever {{{self._pause_deferred is not None}}}, except that there is one place in the {{{download}}} method that sets {{{self._paused}}} to {{{False}}} without setting {{{self._pause_deferred}}} to {{{None}}}. 27 I don't think that the {{{self._paused = None}}} there is actually necessary; everything will work if the download is started while paused. That would allow the code to be simplified by removing {{{self._paused}}}.27 I don't think that the {{{self._paused = }}}~~{{{None}}}~~{{{False}}} there is actually necessary; everything will work if the download is started while paused. That would allow the code to be simplified by removing {{{self._paused}}}. 28 28 29 29 * Is this calculation correct?