Package: python3-proselint / 0.7.0-1

0001-Remove-debug-clearcache-functionality.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From dc12beecfb861d8b32ca56bbc53ecf4d000ffce5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= <me@viccuad.me>
Date: Thu, 16 Jun 2016 09:38:57 +0200
Subject: Remove `--debug` clearcache functionality

Fixes #821886
---
 proselint/command_line.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/proselint/command_line.py b/proselint/command_line.py
index d7efb69..1a33a6e 100644
--- a/proselint/command_line.py
+++ b/proselint/command_line.py
@@ -97,9 +97,6 @@ def proselint(paths=None, version=None, clean=None, debug=None,
         click.echo(timing_test())
         return
 
-    # In debug or clean mode, delete cache & *.pyc files before running.
-    if debug or clean:
-        clear_cache()
 
     # Use the demo file by default.
     if demo: