File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ in progress
9
9
- Update dependencies to their most recent versions.
10
10
- Add URLs to dashboard variables and panel view/edit pages to the output of
11
11
the ``find `` subcommand. Thanks, @oplehto.
12
+ - Improve display of progressbar wrt. being interrupted by logging output.
12
13
13
14
2022-06-19 0.13.4
14
15
=================
Original file line number Diff line number Diff line change 9
9
from collections import OrderedDict
10
10
from concurrent .futures .thread import ThreadPoolExecutor
11
11
from urllib .parse import parse_qs , urljoin , urlparse
12
+ from tqdm .contrib .logging import tqdm_logging_redirect
12
13
13
14
import colored
14
15
import requests
@@ -108,7 +109,8 @@ def setup(self):
108
109
109
110
def start_progressbar (self , total ):
110
111
if self .progressbar :
111
- self .taqadum = tqdm (total = total )
112
+ with tqdm_logging_redirect ():
113
+ self .taqadum = tqdm (total = total )
112
114
113
115
def scan_common (self ):
114
116
self .scan_dashboards ()
Original file line number Diff line number Diff line change 12
12
'dataclasses; python_version<"3.7"' ,
13
13
"docopt>=0.6.2,<0.7" ,
14
14
"munch>=2.5.0,<3" ,
15
- "tqdm>=4.37 .0,<5" ,
15
+ "tqdm>=4.60 .0,<5" ,
16
16
# Grafana
17
17
"requests>=2.23.0,<3" ,
18
18
"grafana-client>=2.1.0,<4" ,
You can’t perform that action at this time.
0 commit comments