def __init__(self, conn): self.conn = conn self.suitecursor = SuiteCursor(self.conn) self.aptsrc = AptSourceHandler(self.conn) self.main_path = None self.profile = Profile(self.conn) self.family = Family(self.conn) self.diskconfig = DiskConfigHandler(self.conn) self.aptkeys = AptKeyHandler(self.conn)
def setup_cursors(self): self.profile = Profile(self.conn) self.family = Family(self.conn) self.machines = MachineHandler(self.conn) self.diskconfig = DiskConfigHandler(self.conn) self.aptkeys = AptKeyHandler(self.conn)