def parse_last_commit_history( self ):
        rc, git_hists = commands.getstatusoutput('git log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short --max-count=10')
        self.raw_hist = git_hists
        if rc not in 0:
            return
        git_hists = re.sub(r'\x1b[^m]*m','',git_hists)
        last_commit = git_hists.splitlines()[0].strip()
        regps = re.match( r'(.*)\|(.*)\((.*)\)(.*)', last_commit, re.M)
        if regps:
            self.lcrev     = regps.group(1).strip().split(' ')[0]
            self.lcdate    = regps.group(1).strip().split(' ')[1]
            self.lcmsg     = regps.group(2).strip()
            self.lcsyncrem = [ f.strip() for f in filter(None, regps.group(3).strip().replace('/'+self.branch,'').split(',')) ]
            self.lcuser    = regps.group(4).strip().replace('[','').replace(']','')
dataset/ETHPy150Open etola/git-manager/git_report_structure.py/GitReport.parse_last_commit_history/operator `!=` -> `not in`