Lines Matching refs:self
39 def __init__(self, xml):
40 self.cname = cname('option')
41 self.name = xml.attrib['name']
42 self.value = xml.attrib['value']
45 def __init__(self, xml):
46 self.cname = cname('application')
47 self.name = xml.attrib['name']
48 self.executable = xml.attrib.get('executable', None)
49 self.executable_regexp = xml.attrib.get('executable_regexp', None)
50 self.sha1 = xml.attrib.get('sha1', None)
51 self.application_name_match = xml.attrib.get('application_name_match', None)
52 self.application_versions = xml.attrib.get('application_versions', None)
53 self.options = []
56 self.options.append(Option(option))
59 def __init__(self, xml):
60 self.cname = cname('engine')
61 self.engine_name_match = xml.attrib['engine_name_match']
62 self.engine_versions = xml.attrib.get('engine_versions', None)
63 self.options = []
66 self.options.append(Option(option))
69 def __init__(self, xml):
70 self.cname = cname('device')
71 self.driver = xml.attrib.get('driver', None)
72 self.device = xml.attrib.get('device', None)
73 self.applications = []
74 self.engines = []
77 self.applications.append(Application(application))
80 self.engines.append(Engine(engine))
83 def __init__(self, xmlpath):
84 self.devices = []
88 self.devices.append(Device(device))