From acf06ff3de18aa2d90cb442a54d61fba9d320a71 Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Sun, 14 Jun 2020 08:20:08 +0200 Subject: [PATCH] Update tools/publish_modules.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Stéphane Bidoul --- tools/publish_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/publish_modules.py b/tools/publish_modules.py index f03cb225..2ea39fc3 100755 --- a/tools/publish_modules.py +++ b/tools/publish_modules.py @@ -182,7 +182,7 @@ def register_repository(driver, repository): def scan_repository(driver, org, repository, branch, force_scan, scan_skip_empty): wait = WebDriverWait(driver, 300) for protocol in ('https', 'ssh'): - repository_url = url(repository, protocol='ssh', org_name=org) + '#' + branch + repository_url = url(repository, protocol=protocol, org_name=org) + '#' + branch try: item_container = driver.find_element_by_xpath( './/span[@id="repo_url" and text()="%s"]'