summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorToon Nolten <toonn@toonn.io>2019-02-25 15:16:51 +0100
committerGitHub <noreply@github.com>2019-02-25 15:16:51 +0100
commit3850bca38e868734a326ed9a328494b6bbcbe9ca (patch)
treeac15fd32a22d1d4824c7fa7c52bc7967f474d502 /ranger
parentbf0ccb4c567a2451e9a2af8cf8f35b2821993385 (diff)
parent02efcd603b5ebfd76823afdc15dee3878dad04db (diff)
downloadranger-3850bca38e868734a326ed9a328494b6bbcbe9ca.tar.gz
Merge pull request #1481 from bigbigtor/fix_issue_1296
Fixes #1296
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/vcs/svn.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/vcs/svn.py b/ranger/ext/vcs/svn.py
index ef958a24..27216a43 100644
--- a/ranger/ext/vcs/svn.py
+++ b/ranger/ext/vcs/svn.py
@@ -98,6 +98,7 @@ class SVN(Vcs):
 
         # Paths with status
         lines = self._run(['status']).split('\n')
+        lines = list(filter(None, lines))
         if not lines:
             return 'sync'
         for line in lines:
@@ -116,6 +117,7 @@ class SVN(Vcs):
 
         # Paths with status
         lines = self._run(['status']).split('\n')
+        lines = list(filter(None, lines))
         for line in lines:
             code, path = line[0], line[8:]
             if code == ' ':