Convenience function
authorChris Larson <clarson@kergoth.com>
Tue, 2 Sep 2003 17:55:01 +0000 (17:55 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 2 Sep 2003 17:55:01 +0000 (17:55 +0000)
bin/oe/build.py

index eb254be..96e515f 100644 (file)
@@ -302,6 +302,9 @@ def remove_task(task, kill = 1, taskdata = _task_data):
                ref = 2
        _task_graph.delnode(task, ref)
 
+def task_exists(task):
+       return _task_graph.hasnode(task)
+
 def get_task_data():
        return _task_data