Package: pydf
Version: 10
Severity: normal
Tags: patch

Dear Maintainer,

I use pydf for regular file system usage checks but I noticed a
small issue when I attempted to use the --bw "do not use colours"
option when I was saving the output to a file.  While most
alternative colours were eliminated, I found that the one for
Readonly drives was not.  After a quick look at /usr/bin/pydf, it
was apparent where the issue was.  Seems one option slipped through
testing.

I checked that this issue also affects version 12 on Sid.

One quick fix and it worked as expected.  I've included a patch for
your consideration.

Thanks for a very useful app!

Dave

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pydf depends on:
ii  python  2.7.9-1

pydf recommends no packages.

pydf suggests no packages.

-- no debconf information
640c640
<     normal_colour = header_colour = local_fs_colour = remote_fs_colour = 
special_fs_colour = filled_fs_colour = full_fs_colour = 'none'
---
>     normal_colour = header_colour = local_fs_colour = remote_fs_colour = 
> special_fs_colour = readonly_fs_colour = filled_fs_colour = full_fs_colour = 
> 'none'

Reply via email to