Empty file name removal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned | ||
duplicity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
So, it's duplicity 0.6.18
in Python 2.7.3
under 3.2.0-29-generic x86_64
from Ubuntu 12.04 LTS server
on amd64-based hp n36l microserver
talking to olbiz.net
served by Pure-FTPd using TLS
backed by GlusterFS.
The duplicity is being ran via duply version 1.5.5.4
Using installed duplicity version 0.6.18, python 2.7.3, gpg 1.4.11, awk 'GNU Awk 3.1.8', bash '4.2.24(1)-release (x86_64-
One may see this "error" (actually, annoying misfeature):
Running 'lftp -c 'source /tmp/duplicity-
Error is:
Usage: rm [-r] [-f] files...
in my case it's in /usr/share/
I'd propose to guard the last 3 lines (remote_dir = ...; command_line = ...; self.popen_
if filelist.rstrip() : # don't even try to remove empty names
I.e. just do nothing if no filenames were given to remove.
affects: | ubuntu → duplicity (Ubuntu) |
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.6.22 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
I propose a fix.