[Python-apps-team] Bug#969772: rabbitvcs: searches PATH for a program named "gio trash"
Simon McVittie
smcv at debian.org
Tue Sep 8 00:09:23 BST 2020
Source: rabbitvcs
Version: 0.18-2
Severity: normal
While searching codesearch.debian.net for references to the deprecated
gvfs-* utilities, I noticed that rabbitvcs seems to have been ported
from gvfs-trash to "gio trash" (good), but it seems to have been ported
incorrectly (less good).
It does this:
retcode = subprocess.call(["gio trash", abspath])
which searches the PATH for a program named "gio trash", which probably
isn't going to exist.
I think this should be:
retcode = subprocess.call(["gio", "trash", abspath])
Thanks,
smcv
More information about the Python-apps-team
mailing list