def __init__(self, conn): self.conn = conn self.cursor = Table_cursor(self.conn, 'machines') self.cursor.set_table('machines') self.kernels = Table_cursor(self.conn, 'kernels') self.mtype = MachineTypeHandler(self.conn) self.filesystems = Table_cursor(self.conn, 'filesystems') self.mounts = Table_cursor(self.conn, 'mounts') self.fsmounts = Table_cursor(self.conn, 'filesystem_mounts') self.disks = Table_cursor(self.conn, 'disks') self.partitions = Table_cursor(self.conn, 'partitions') self.current = None