From a72fd2935839d836114dbc3f02761535538421eb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 27 May 2007 22:00:56 +0000 Subject: [PATCH] Fix typo. svn path=/main/trunk/; revision=6647 --- pym/portage/output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/output.py b/pym/portage/output.py index d2122e0b5..75e043483 100644 --- a/pym/portage/output.py +++ b/pym/portage/output.py @@ -455,8 +455,8 @@ class ProgressBar(object): self._maxval = maxval if value < 0: value = 0 - elif value > maxval: - value = maxval + elif value > self._maxval: + value = self._maxval self._curval = value def inc(self, n=1): -- 2.26.2