ci: do not treat message parts as xml

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-10-27 14:29:59 -04:00 committed by Anas Nashif
commit 789d51c4aa

View file

@ -76,7 +76,7 @@ class TitleStartsWithSubsystem(LineRule):
def validate(self, title, _commit): def validate(self, title, _commit):
regex = self.options['regex'].value regex = self.options['regex'].value
pattern = re.compile(regex, re.UNICODE) pattern = re.compile(regex, re.UNICODE)
violation_message = "Title does not follow <subsystem>: <subject>" violation_message = "Title does not follow [subsystem]: [subject]"
if not pattern.search(title): if not pattern.search(title):
return [RuleViolation(self.id, violation_message, title)] return [RuleViolation(self.id, violation_message, title)]