class RawCommit: def __init__(self, completeCommit): self.raw = completeCommit.split("--SEP--") self.body = self.raw[0].strip() self.hash = self.raw[1].strip() self.tag = self.raw[2].strip()