From 546c77f73d59413ce64a556d57981ceba2d5fadb Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 11 Oct 2016 00:12:25 +0200 Subject: [PATCH] ssh:// Location URL - remove not needed # nobody could make sense of it, so guess it is a mistake. --- borg/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/helpers.py b/borg/helpers.py index 24a8231a4..14caeec3c 100644 --- a/borg/helpers.py +++ b/borg/helpers.py @@ -788,7 +788,7 @@ class Location: ssh_re = re.compile(r""" (?Pssh):// # ssh:// (?:(?P[^@]+)@)? # user@ (optional) - (?P[^:/#]+)(?::(?P\d+))? # host or host:port + (?P[^:/]+)(?::(?P\d+))? # host or host:port """ + path_re + optional_archive_re, re.VERBOSE) # path or path::archive file_re = re.compile(r"""