Skip to content

Commit

Permalink
Make the ascii progress bar really be ascii, not Unicode
Browse files Browse the repository at this point in the history
Found while debugging #5665
  • Loading branch information
segevfiner committed Jul 29, 2018
1 parent e818039 commit 6db3f88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pip/_internal/utils/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ class DownloadSilentBar(BaseDownloadProgressBar, SilentBar): # type: ignore
pass


class DownloadIncrementalBar(BaseDownloadProgressBar, # type: ignore
IncrementalBar):
class DownloadBar(BaseDownloadProgressBar, # type: ignore
Bar):
pass


Expand Down Expand Up @@ -269,7 +269,7 @@ def update(self):
BAR_TYPES = {
"off": (DownloadSilentBar, DownloadSilentBar),
"on": (DefaultDownloadProgressBar, DownloadProgressSpinner),
"ascii": (DownloadIncrementalBar, DownloadProgressSpinner),
"ascii": (DownloadBar, DownloadProgressSpinner),
"pretty": (DownloadFillingCirclesBar, DownloadProgressSpinner),
"emoji": (DownloadBlueEmojiProgressBar, DownloadProgressSpinner)
}
Expand Down

0 comments on commit 6db3f88

Please sign in to comment.