Mercurial > kallithea
changeset 3274:567207469e95 beta
laste_review status should only return if there are any statuses
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 30 Jan 2013 22:08:28 +0100 |
parents | 91679a5013c3 |
children | f239029b9f7e |
files | rhodecode/model/db.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/db.py Wed Jan 30 04:32:07 2013 +0100 +++ b/rhodecode/model/db.py Wed Jan 30 22:08:28 2013 +0100 @@ -1868,7 +1868,7 @@ @property def last_review_status(self): - return self.statuses[-1].status + return self.statuses[-1].status if self.statuses else '' def __json__(self): return dict(