def getEntryId(self, index): if index > len(self.entries): raise DatabaseError.EntryOutOfRange(index) return self.entries[index]["SubjectID"]
def getEntryGroup(self, index): if index > len(self.entries): raise DatabaseError.EntryOutOfRange(index) return self.entries[index]["Group"]