SX backend issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There is a small issue with the sx backend which fails when the sx path doesn't contain a trailing slash.
For example this works:
duplicity remove-
But this doesn't:
duplicity remove-
and results in:
Error:
Reading results of 'sxls sx://@cluster/
Backtrace of previous error: Traceback (innermost last):
File "/usr/lib/
return fn(self, *args)
File "/usr/lib/
return [tobytes(x) for x in self.backend.
File "/usr/lib/
return [x[x.rindex('/') + 1:].split()[-1] for x in l.split('\n') if x and not x.startswith("total ")]
IndexError: list index out of range
The stupid patch attached makes sure the trailing slash is always present.
On a side note all the calls to self.subprocess
Changed in duplicity: | |
milestone: | none → 0.8.19 |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |