From: Zac Medico Date: Sun, 27 May 2007 22:00:56 +0000 (-0000) Subject: Fix typo. X-Git-Tag: v2.2_pre1~1353 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a72fd2935839d836114dbc3f02761535538421eb;p=portage.git Fix typo. svn path=/main/trunk/; revision=6647 --- 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):