fix up the mark evaluator validity check

This commit is contained in:
Ronny Pfannschmidt 2018-03-16 15:56:45 +01:00
parent f1a1695aaa
commit e8feee0612
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ class MarkEvaluator(object):
self._mark_name = name
def __bool__(self):
return bool(self._marks)
# dont cache here to prevent staleness
return bool(self._get_marks())
__nonzero__ = __bool__
def wasvalid(self):