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
6'>96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133