(node)
Makes all the properties we know about in this node absolute.
Makes all the properties we know about in this node absolute.
Makes all the properties we know about in this node absolute .
def AbsoluteNode(node):
  """Makes all the properties we know about in this node absolute."""
  if node.attributes:
    for (name, value) in node.attributes.items():
      if name in ['InheritedPropertySheets', 'RelativePath',
                  'AdditionalIncludeDirectories',
                  'IntermediateDirectory', 'OutputDirectory',
                  'AdditionalLibraryDirectories']:
        # We want to fix up these paths
        path_list = value.split(';')
        new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1]))
        node.setAttribute(name, ';'.join(new_list))
      if not value:
        node.removeAttribute(name)
def AbsoluteNode ( node ) : if node . attributes : for ( name , value ) in node . attributes . items ( ) : if name in [ 'InheritedPropertySheets' , 'RelativePath' , 'AdditionalIncludeDirectories' , 'IntermediateDirectory' , 'OutputDirectory' , 'AdditionalLibraryDirectories' ] : # We want to fix up these paths path_list = value . split ( ';' ) new_list = FixFilenames ( path_list , os . path . dirname ( ARGUMENTS [ 1 ] ) ) node . setAttribute ( name , ';' . join ( new_list ) ) if not value : node . removeAttribute ( name )