(self, type)
return file_name
gets the full filename of the file reference as it is on disk
gets the full filename of the file reference as it is on disk
gets the full filename of the file reference as it is on disk
def get_file_name_by_type(self, type):
        '''gets the full filename of the file reference as it is on disk'''
        '''Note that this is now the same as "get_name_by_type" because the
        snapshot now contains the full file name'''
        xml = self.get_snapshot_xml()
        node = xml.get_node("snapshot/file[@type='%s']"%type)
        if node is None:
            return ''

        file_name = self._get_file_name(node)
        return file_name
def get_file_name_by_type ( self , type ) : '''Note that this is now the same as "get_name_by_type" because the
        snapshot now contains the full file name''' xml = self . get_snapshot_xml ( ) node = xml . get_node ( "snapshot/file[@type='%s']" % type ) if node is None : return '' file_name = self . _get_file_name ( node ) return file_name