File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ def make_step(self, n_steps):
177177 # overriden and copied from Click to work around Click woes for
178178 # https://github.com/aboutcode-org/scancode-toolkit/issues/2583
179179 def generator (self ):
180- if self .hidden :
180+ if self .is_hidden :
181181 yield from self .iter
182182 else :
183183 for rv in self .iter :
@@ -196,7 +196,7 @@ class EnhancedProgressBar(DebuggedProgressBar):
196196 """
197197
198198 def render_progress (self ):
199- if not self .hidden :
199+ if not self .is_hidden :
200200 return super (EnhancedProgressBar , self ).render_progress ()
201201
202202
@@ -217,7 +217,7 @@ class ProgressLogger(ProgressBar):
217217
218218 def __init__ (self , * args , ** kwargs ):
219219 super (ProgressLogger , self ).__init__ (* args , ** kwargs )
220- self .hidden = False
220+ self .is_hidden = False
221221
222222 def render_progress (self ):
223223 line = self .format_progress_line ()
You can’t perform that action at this time.
0 commit comments