summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-06-17 17:38:42 +0100
committerYobmod <yobmod@gmail.com>2021-06-17 17:38:42 +0100
commit3a84459c6a5a1d8a81e4a51189091ef135e1776e (patch)
treee1207dbe034f82deacbb76369716779608e7056d /git/remote.py
parentdf39446bb7b90ab9436fa3a76f6d4182c2a47da2 (diff)
parent636f77bf8d58a482df0bde8c0a6a8828950a0788 (diff)
downloadgitpython-3a84459c6a5a1d8a81e4a51189091ef135e1776e.tar.gz
add travis
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index e17f7bb8..6ea4b2a1 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -612,7 +612,7 @@ class Remote(LazyMixin, Iterable):
# * [would prune] origin/new_branch
token = " * [would prune] "
if not line.startswith(token):
- raise ValueError("Could not parse git-remote prune result: %r" % line)
+ continue
ref_name = line.replace(token, "")
# sometimes, paths start with a full ref name, like refs/tags/foo, see #260
if ref_name.startswith(Reference._common_path_default + '/'):