Skip to content

Commit f54c81e

Browse files
committed
Simplify the spelling of check_invalid
1 parent a1cc5a2 commit f54c81e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

contingent/contingent/projectlib.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,8 @@ def wrapper(*args):
106106

107107
def check_invalid(*args):
108108
task = Task(wrapper, args)
109-
cached_value = self._get_from_cache(task)
110109
current_value = task_function(*args)
111-
if cached_value != current_value:
112-
self.set(task, current_value)
110+
self.set(task, current_value)
113111

114112
wrapper.check_invalid = check_invalid
115113

0 commit comments

Comments
 (0)