def configure(self, config): set_attribute(self, "serial", "000300", config) set_attribute(self, "interface", "eth0", config) FTPTransporter.configure(self, config)
def configuration(self): config = FTPTransporter.configuration(self) get_attribute(self, 'interface', config) get_attribute(self, 'serial', config) return config
def configuration(self): config = FTPTransporter.configuration(self) get_attribute(self, "interface", config) get_attribute(self, "serial", config) return config
def configure(self, config): set_attribute(self, 'serial', '000300', config) set_attribute(self, 'interface', 'eth0', config) FTPTransporter.configure(self, config)