From c54600b9b7411d52d02a7ed143cef0fa38305755 Mon Sep 17 00:00:00 2001 From: sienkiew Date: Mon, 11 Jun 2012 18:41:37 +0000 Subject: clarify notes git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@714 d34015c8-bcbb-4646-8ac8-8ba5febf221d --- NOTES | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NOTES b/NOTES index 77e6814..e8daf48 100644 --- a/NOTES +++ b/NOTES @@ -66,10 +66,14 @@ The new HOSTGROUP feature works like this: # defines a set of conditions - each condition is a python function in a CONDITIONS block CONDITIONS + # for a function, the truth value is the return value def foo() : return True def bar() : return False + + # for anything else, it is just the value: + baz = platform.node.endswith('.stsci.edu') END # the END must be on a line by itself @@ -85,7 +89,6 @@ TABLE whatever HOST @xyz banana # defines table whatever to be on all the hosts in xyz and the host banana ... -hostgroup is implemented up to here. In your AFTER clause, you can write it as -- cgit