summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-09-19 21:54:27 +0200
committerhut <hut@lepus.uberspace.de>2015-09-19 21:54:27 +0200
commit46596ed96b245ca9d65d5008b25505216b6338a3 (patch)
tree0d162e15724b3e13e36d7a889f4a46d524febef1
parentce681b6c77653d981d45d12c0dedfeab884693eb (diff)
downloadranger-46596ed96b245ca9d65d5008b25505216b6338a3.tar.gz
ext.vcs.svn: added "r" to another regex string
-rw-r--r--ranger/ext/vcs/svn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/vcs/svn.py b/ranger/ext/vcs/svn.py
index b1897797..9bf8698c 100644
--- a/ranger/ext/vcs/svn.py
+++ b/ranger/ext/vcs/svn.py
@@ -179,7 +179,7 @@ class SVN(Vcs):
         ret = {}
         for st, p in L:
             # Detect conflict by the existence of .orig files
-            if st == '?' and re.match('^.*\.orig\s*$', p): st = 'X'
+            if st == '?' and re.match(r'^.*\.orig\s*$', p): st = 'X'
             sta = self._svn_file_status(st)
             ret[os.path.normpath(p.strip())] = sta
         return ret