##// END OF EJS Templates
crecord: use raw string for regular expression...
Gregory Szorc -
r41676:7a90ff8c default
parent child Browse files
Show More
@@ -1799,6 +1799,7 b' are you sure you want to review/edit and'
1799 break
1799 break
1800
1800
1801 if self.commenttext != "":
1801 if self.commenttext != "":
1802 whitespaceremoved = re.sub("(?m)^\s.*(\n|$)", "", self.commenttext)
1802 whitespaceremoved = re.sub(br"(?m)^\s.*(\n|$)", b"",
1803 self.commenttext)
1803 if whitespaceremoved != "":
1804 if whitespaceremoved != "":
1804 self.opts['message'] = self.commenttext
1805 self.opts['message'] = self.commenttext
General Comments 0
You need to be logged in to leave comments. Login now