(self, file_name)
gets the name of the file reference
gets the name of the file reference
gets the name of the file reference
def get_type_by_file_name(self, file_name):
        '''gets the name of the file reference'''
        xml = self.get_snapshot_xml()

        node = xml.get_node('snapshot/file[@name="%s"]' % file_name)
        if node is not None:
            return Xml.get_attribute(node, "type")
        else:
            return ''
def get_type_by_file_name ( self , file_name ) : xml = self . get_snapshot_xml ( ) node = xml . get_node ( 'snapshot/file[@name="%s"]' % file_name ) if node is not None : return Xml . get_attribute ( node , "type" ) else : return ''