Merge lp:~facundo/ubuntuone-client/reset-written-bytes into lp:ubuntuone-client
Proposed by
Facundo Batista
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Facundo Batista | ||||
Approved revision: | 911 | ||||
Merged at revision: | 913 | ||||
Proposed branch: | lp:~facundo/ubuntuone-client/reset-written-bytes | ||||
Merge into: | lp:ubuntuone-client | ||||
Diff against target: |
48 lines (+19/-1) 2 files modified
tests/syncdaemon/test_action_queue.py (+17/-0) ubuntuone/syncdaemon/action_queue.py (+2/-1) |
||||
To merge this branch: | bzr merge lp:~facundo/ubuntuone-client/reset-written-bytes | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guillermo Gonzalez | Approve | ||
Lucio Torre (community) | Approve | ||
Review via email: mp+52693@code.launchpad.net |
Commit message
Reset the written values in Upload to 0 when re-run (LP: #724532)
Description of the change
Reset the written values in Upload to 0 when re-run
The command can be interrupted and tried again, so needs to reset the values on each _run(). Note that they are reset to 0, but if the Upload is multipart it will then adjust the values in UploadProgressW
Also, moved the responsibility of the reset to UploadProgressW
Test included.
To post a comment you must log in.