diff --git a/doit/task.py b/doit/task.py index f864d1a7..0fdd15f6 100644 --- a/doit/task.py +++ b/doit/task.py @@ -672,3 +672,6 @@ def result_saver(): if last_success is None: return False return last_success == dep_result + + def __repr__(self): + return 'result_dep("%s")' % self.dep_name diff --git a/doit/tools.py b/doit/tools.py index 1dc4a09f..2d882936 100644 --- a/doit/tools.py +++ b/doit/tools.py @@ -79,6 +79,9 @@ def __call__(self, task, values): return False return (last_success == self.config_digest) + def __repr__(self): + return "config_changed(%r)" % self.config + # uptodate