File: python-syntax.patch

package info (click to toggle)
presentty 0.2.1-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 472 kB
  • sloc: python: 1,691; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: 2026-02-08
Bug-Debian: https://bugs.debian.org/1085788
Description: Avoid Python3 syntax warning

--- a/presentty/rst.py
+++ b/presentty/rst.py
@@ -49,7 +49,7 @@ class TextAccumulator(object):
     def getFormattedText(self):
         return self.text
 
-    wsre = re.compile('\s+')
+    wsre = re.compile(r'\s+')
 
     def getFlowedText(self):
         ret = []