misc: make urljoin works with git+ssh:// URLs (#44790)
This commit is contained in:
parent
cfe87cda7e
commit
d5636c45e2
|
@ -15,6 +15,11 @@ from eobuilder import settings, VERSION, init
|
|||
from eobuilder.changelog import changelog_from_git
|
||||
from eobuilder.cmdline import parse_cmdline, error, cat, touch, call, output, setup_py
|
||||
|
||||
|
||||
# fix urljoin for git+ssh:// URLs
|
||||
if 'git+ssh' not in urllib.parse.uses_relative:
|
||||
urllib.parse.uses_relative.append('git+ssh')
|
||||
|
||||
def rm_recursive(path):
|
||||
if os.path.exists(path):
|
||||
shutil.rmtree(path)
|
||||
|
|
Loading…
Reference in New Issue