about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStanislav Arnaudov <stanislav_ts@abv.bg>2019-02-27 14:13:51 +0100
committerGitHub <noreply@github.com>2019-02-27 14:13:51 +0100
commit8c5c270db87e46798d02cbab4215150563aff9c1 (patch)
treef14425acbe4cdee2cd70e3052b82b43b839bec6d
parent5253b3992f76251c1daf954b3282eec7a31e1412 (diff)
parent3850bca38e868734a326ed9a328494b6bbcbe9ca (diff)
downloadranger-8c5c270db87e46798d02cbab4215150563aff9c1.tar.gz
Merge branch 'master' into paste-dest
-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 == ' ':