Commit 30119a2c by James Cammarata

Merge pull request #8933 from alxgu/fix_zypp_repo_url

zypper_repository: Remove trailing "/"
parents dc1f233e bce8ac55
......@@ -105,7 +105,7 @@ def repo_exists(module, **kwargs):
for k, v in realrepo.items():
if k in repocmp:
if v != repocmp[k]:
if v.rstrip("/") != repocmp[k].rstrip("/"):
return False
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment