Skip to content
Myr

No more whitespace stripping to progressbar label. This fixes #186

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent b79b6f0 · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:click/_termui_impl.py+1 added-1 removed
172 unmodified lines
173 return (self.bar_template % {174 'label': self.label,175 'bar': bar,176 'info': self.info_sep.join(info_bits)177 }).strip()177 }).rstrip()178179 def render_progress(self):180 from .termui import get_terminal_size181
327 unmodified lines
modified:CHANGES+2 added
23 unmodified lines
24- Restructured Click internally to support vendoring.25- Added support for multi command chaining.26- Added support for defaults on options with `multiple` and27 options and arguments with `nargs != 1`.28- label passed to `progressbar` is no longer rendered with29 whitespace stripped.3031Version 2.632-----------33
111 unmodified lines