Your message dated Thu, 16 Jun 2016 10:32:40 +0000
with message-id <e1bdubj-00054u...@franck.debian.org>
and subject line Bug#821886: fixed in python3-proselint 0.5.3-2
has caused the Debian Bug report #821886,
regarding proselint: clear_cache() function clears the current directory 
instead of the cache directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
821886: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821886
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-proselint
Version: 0.5.3-1
Severity: serious
File: /usr/lib/python3/dist-packages/proselint/command_line.py

When I run `proselint --debug` from my home directory it searches my
whole home directory for *.pyc files and deletes them. While *.pyc
files are usually Python bytecode that might not be true for every user
and even if they were, that doesn't mean the user doesn't want to keep
them. Either way it is completely unacceptable to delete stuff from the
user's home directory just because they want to debug proselint.

Also, what happened to removing use of shell=True?

def proselint(paths=None, version=None, initialize=None, clean=None,
              debug=None, score=None, output_json=None, time=None, demo=None,
              compact=None):
...
    # In debug or clean mode, delete cache & *.pyc files before running.
    if debug or clean:
        clear_cache()


def clear_cache():
    """Delete the contents of the cache."""
    click.echo("Deleting the cache...")
    subprocess.call("find . -name '*.pyc' -delete", shell=True)
    subprocess.call(
        "rm -rfv proselint/cache > /dev/null && mkdir -p {}".format(
            os.path.join(os.path.expanduser("~"), ".proselint")),
        shell=True)

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates'), (850, 'buildd-testing-proposed-updates'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-rc3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-proselint depends on:
ii  python3-click   6.6-1
ii  python3-future  0.15.2-1
ii  python3-six     1.10.0-2
pn  python3:any     <none>

python3-proselint recommends no packages.

python3-proselint suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: python3-proselint
Source-Version: 0.5.3-2

We believe that the bug you reported is fixed in the latest version of
python3-proselint, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 821...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Víctor Cuadrado Juan <m...@viccuad.me> (supplier of updated python3-proselint 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 16 Jun 2016 09:50:01 +0200
Source: python3-proselint
Binary: python3-proselint
Architecture: source
Version: 0.5.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Víctor Cuadrado Juan <m...@viccuad.me>
Description:
 python3-proselint - Library and command-line prose linter utility (Python 3)
Closes: 821886
Changes:
 python3-proselint (0.5.3-2) unstable; urgency=medium
 .
   * Add Patch to remove `--debug` clearcache functionality (Closes: #821886)
   * Change d/control Homepage from https to http
Checksums-Sha1:
 e4bcd4515c7b68dcf6e9e56262102c39ca09bf96 2146 python3-proselint_0.5.3-2.dsc
 244bfe55d927d994c79f831a314d33bc979fce72 3576 
python3-proselint_0.5.3-2.debian.tar.xz
Checksums-Sha256:
 4c19f7b62d01db50b47cbcdef91b318999ec64a6774098ac3ee06e110619c84c 2146 
python3-proselint_0.5.3-2.dsc
 d248ddf853f8b1e0a37ce9197409e3e225d2d20c97d2bee9ac3780a5047051ad 3576 
python3-proselint_0.5.3-2.debian.tar.xz
Files:
 c37e151ca2832422a11998674567ffd4 2146 text optional 
python3-proselint_0.5.3-2.dsc
 e72eea6b1c0c2b054c18f5bddab31e67 3576 text optional 
python3-proselint_0.5.3-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXYnNGAAoJEPNPCXROn13ZMikP/j+VQ/6+xx/LdlkjOJIn6caG
u/bIwlkDScIxT7rrwav3pD7UKyeKvWkMJ61P8OTmIl6L97ZWu3vJMTenKbcCQSBd
kzm+eyaMBbUB58PSye2mop+KfByHeSpzONXXYkZaKpV1c7+s0MWY2lywxYs5dg7E
GddmGlGH8oDHFYv1ZQMWr7IVs7wl/vonTzKpoPnVk+WMAoW/j7ZbczsOuqorserV
qI1daQ+PAxJfZvOwfJGhhQCJK7OPKkWsICmzCgpOmyBPkIHBjF/3mPseA2Nr4J/K
6YXdAu3eUSdpREVl1mfUPvTEH+X887Bqbq/ariV0X8MjbKvMWph9EOZNndG0+C5t
h0v/XSa9P7pSV9Cs23Jin7F+TMLP2yGRJDG67gqAXKF42nyRgfr92LtH7Tk9uKYz
HjGSW3T6MjbrDEAja9pbg15wtYkfmsoRTxAX4lEIGg9/Tw3O5RwW2SBlzB31OVg+
ilksgLSW9avEYZU9XaFvFiIXUptnFrGc+vwl3K7K8bv43melup/3199ss1IHPofS
3TjQTHLDuUAY0K5jKaHq0LQ9PgNl/nT1xVTvZu5bBqQBZ1FyzXAxkR0heKjwJkxp
SwWuy8XdlzqYJwE6HQQro8MsX+IbywaRgUH/qtsO4DSeUCfx6nnRKsEIy++VZuNq
7fY8nDLMmJ1PQ/QMjzWF
=oJhF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to