示例#1
0
 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)
示例#2
0
 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)