mirror of https://github.com/borgbackup/borg.git
ssh:// Location URL - remove not needed #
nobody could make sense of it, so guess it is a mistake.
This commit is contained in:
parent
e9ba14c686
commit
546c77f73d
|
@ -788,7 +788,7 @@ class Location:
|
||||||
ssh_re = re.compile(r"""
|
ssh_re = re.compile(r"""
|
||||||
(?P<proto>ssh):// # ssh://
|
(?P<proto>ssh):// # ssh://
|
||||||
(?:(?P<user>[^@]+)@)? # user@ (optional)
|
(?:(?P<user>[^@]+)@)? # user@ (optional)
|
||||||
(?P<host>[^:/#]+)(?::(?P<port>\d+))? # host or host:port
|
(?P<host>[^:/]+)(?::(?P<port>\d+))? # host or host:port
|
||||||
""" + path_re + optional_archive_re, re.VERBOSE) # path or path::archive
|
""" + path_re + optional_archive_re, re.VERBOSE) # path or path::archive
|
||||||
|
|
||||||
file_re = re.compile(r"""
|
file_re = re.compile(r"""
|
||||||
|
|
Loading…
Reference in New Issue