X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fnmutil%2Futil.py;h=6f22179eff5ae8078d45f2a0b001a4f6f2045401;hb=efda080db6978d249a23003bec734f1cc07de329;hp=ceb9a710df8ac7a0f42f319bae351dcb155fe0cd;hpb=8efde49c607d3ceea86b8b0ab3a37ee687ed5384;p=nmutil.git diff --git a/src/nmutil/util.py b/src/nmutil/util.py index ceb9a71..6f22179 100644 --- a/src/nmutil/util.py +++ b/src/nmutil/util.py @@ -22,7 +22,7 @@ def treereduce(tree, op, fn): """treereduce: apply a map-reduce to a list. examples: OR-reduction of one member of a list of Records down to a single data point: - treereduce(tree, operator.or_, lambda x: getattr(x, "data_o")) + treereduce(tree, operator.or_, lambda x: getattr(x, "o_data")) """ #print ("treereduce", tree) if not isinstance(tree, list):