ssh:// Location URL - remove not needed #

nobody could make sense of it, so guess it is a mistake.
This commit is contained in:
Thomas Waldmann 2016-10-11 00:12:25 +02:00
parent e9ba14c686
commit 546c77f73d
1 changed files with 1 additions and 1 deletions

View File

@ -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"""