equal
deleted
inserted
replaced
1797 keypressed = "foobar" |
1797 keypressed = "foobar" |
1798 if self.handlekeypressed(keypressed): |
1798 if self.handlekeypressed(keypressed): |
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 |