[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883194: please convert mountstats and nfsiostat scripts to Python3



On Thu, 30 Nov 2017 16:37:52 +0100 Matthias Klose <doko@debian.org> wrote:

>
> the changelog reads:
>
> - nfs-common: Add Recommends python for mountstats and nfsiostat
>
> Please convert these scripts to python3, and recommend Python3 instead.
>

I think they should already be compatible with python3 since 1.2.9 (or 1.3.1) if I'm looking at upstream git repository:

http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=9f9289efda1a7eff26cd046997efc56c2de40534

http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=1df82a36df74a59f55eea99d08612564fa22cbef

So it's just a matter of changing the shebang and the dependency.

Question, why is this a recommends? The executable is using python(3) without any fallback mechanism I can understand that this is a "not often use binary", but shouldn't that be changed to a Depends?


Reply to: