Changes between Version 1 and Version 2 of TorqueUsage/DataTypes/Batch_status


Ignore:
Timestamp:
09/08/06 12:51:30 (18 years ago)
Author:
bas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TorqueUsage/DataTypes/Batch_status

    v1 v2  
    2424   print node.name
    2525   for attrib in node.attribs:
    26      print '%s = %s' %(attrib.name, attrib.value)
     26     if attrib.resource:
     27        print '%s.%s = %s' %(attrib.name, attrib.resource, attrib.value)
     28     else:
     29        print '%s = %s' %(attrib.name, attrib.value)
    2730}}}
    2831
    2932
     33
    3034''Note:'' That the next pointer definition is not used in the Python code. The module will automatically convert a C linked list to a Python list a vice versa