Exemplo n.º 1
0
    def formatGeneralInfoLine(self, line):
        line = self.formatLine(line)
        slashIndex = line.find("/")
        if slashIndex != -1:
            status = line[0:slashIndex - 1]
            comment = line[slashIndex + 2:]
        else:
            status = line
            comment = ""

        return GeneralInfo(status, comment)