Mercurial > treepkg
changeset 434:c6d88d70bc43 treepkg-status
fixed another typo
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Thu, 29 Jul 2010 14:59:10 +0000 |
parents | 9926ced5d477 |
children | 8be095183151 |
files | treepkg/info/status.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/info/status.py Thu Jul 29 14:52:42 2010 +0000 +++ b/treepkg/info/status.py Thu Jul 29 14:59:10 2010 +0000 @@ -91,11 +91,11 @@ revisions = track.get_revisions() revisions = sorted(revisions, key=lambda r: r.status.start, reverse=True) - canidates = revisions + candidates = revisions if self.success: # skip not successful builds candidates = [rev for rev in revisions - if rev.status.status.finished - and not rev.status.status.error] + if rev.status.status.finished + and not rev.status.status.error] if self.numnewestrev > 0: canditates = candidates[:self.numnewestrev]