def arch(self, current=None): if self._arch is None: self._arch = db.get_builder_attribute(self.address, self.fingerprint, 'arch') if current is not None: if self._arch != current: self._arch = current db.set_builder_attribute(self.address, self.fingerprint, 'arch', current) return self._arch
def os(self, current=None): if self._os is None: self._os = db.get_builder_attribute(self.address, self.fingerprint, 'os') if current is not None: if self._os != current: self._os = current db.set_builder_attribute(self.address, self.fingerprint, 'os', current) return self._os
def label(self, current=None): if self._label is None: self._label = db.get_builder_attribute(self.address, self.fingerprint, 'label') if current is not None: if self._label != current: self._label = current db.set_builder_attribute(self.address, self.fingerprint, 'label', current) return self._label