Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1024192 > unrolled thread

Bug#969772: rabbitvcs: searches PATH for a program named "gio trash"

Started bySimon McVittie <smcv@debian.org>
First post2020-09-08 01:20 +0200
Last post2020-09-08 01:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#969772: rabbitvcs: searches PATH for a program named "gio trash" Simon McVittie <smcv@debian.org> - 2020-09-08 01:20 +0200

#1024192 — Bug#969772: rabbitvcs: searches PATH for a program named "gio trash"

FromSimon McVittie <smcv@debian.org>
Date2020-09-08 01:20 +0200
SubjectBug#969772: rabbitvcs: searches PATH for a program named "gio trash"
Message-ID<AMyAx-3Lo-3@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web