Ubuntu One backend should check for 402 error for out-of-space messages
Bug #997691 reported by
Roman Yepishev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
At the moment here's what is in precise package:
if status == 400:
code = log.ErrorCode.
elif status == 404:
code = log.ErrorCode.
elif status == 507:
code = log.ErrorCode.
else:
code = log.ErrorCode.
return code
Ubuntu One was never using WebDAV-specific 507 code and recently we decided that 402 (Payment Required, as in purchasing more space is required for operation to complete) will be a better fit.
Please update the source to check for 402 error as out-of-space event.
Related branches
lp:~mterry/duplicity/u1-402
Merged
into
lp:duplicity/0.6
- duplicity-team: Pending requested
-
Diff: 17 lines (+3/-3)1 file modifiedduplicity/backends/u1backend.py (+3/-3)
affects: | deja-dup → duplicity |
Changed in duplicity: | |
status: | New → Fix Committed |
milestone: | none → 0.6.20 |
Changed in duplicity: | |
importance: | Undecided → Medium |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.