diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2012-07-09 14:49:55 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-07-09 14:49:55 -0700 |
commit | 108559b3df8ef31072c53afe07d4005f496caffb (patch) | |
tree | a755fc06a9a5010ad212b03cffbd3bbcf05aa68b | |
parent | c0bfa14ff884cd956440984a9bb7bf59b88f696d (diff) | |
download | portage-108559b3df8ef31072c53afe07d4005f496caffb.tar.gz portage-108559b3df8ef31072c53afe07d4005f496caffb.tar.bz2 portage-108559b3df8ef31072c53afe07d4005f496caffb.zip |
TermProgressBar: Fix to do 80 chars (not 81)
-rw-r--r-- | pym/portage/output.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py index fc6f6ebaa..507adb0ba 100644 --- a/pym/portage/output.py +++ b/pym/portage/output.py @@ -737,9 +737,9 @@ class TermProgressBar(ProgressBar): square_brackets_width = 2 if cols < percentage_str_width: return "" - bar_space = cols - percentage_str_width - square_brackets_width + bar_space = cols - percentage_str_width - square_brackets_width - 1 if self._desc: - bar_space -= self._desc_max_length + 1 + bar_space -= self._desc_max_length if maxval == 0: max_bar_width = bar_space-3 image = " " |