likewise replace data_o with o_data and data_i with i_data
[nmutil.git] / src / nmutil / util.py
index ceb9a710df8ac7a0f42f319bae351dcb155fe0cd..6f22179eff5ae8078d45f2a0b001a4f6f2045401 100644 (file)
@@ -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):