File: SyntaxWarning.patch

package info (click to toggle)
show-in-file-manager 1.1.4-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 504 kB
  • sloc: python: 1,373; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/src/showinfm/system/linux.py
+++ b/src/showinfm/system/linux.py
@@ -184,7 +184,7 @@
     except subprocess.CalledProcessError:
         raise Exception("Failed to get version number from caja")
 
-    result = re.search("\d", version_string)
+    result = re.search(r"\d", version_string)
     if result is None:
         return None