def get_all_outputs(node_dict):
outlist = []<EOL>for item in node_dict['<STR_LIT>']:<EOL><INDENT>glist = glob.glob(item)<EOL>if glist:<EOL><INDENT>for oneglob in glist:<EOL><INDENT>outlist.append(oneglob)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>outlist.append(item)<EOL><DEDENT><DEDENT>return outlist<EOL>
This function takes a node dictionary and returns a list of
the node's output files. Some of the entries in the 'output'
attribute may be globs, and without this function, sake won't
know how to handle that. This will unglob all globs and return
the true list of *all* outputs.