1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #8933 from alxgu/fix_zypp_repo_url

zypper_repository: Remove trailing "/"
This commit is contained in:
James Cammarata 2014-09-09 09:26:20 -05:00
commit 30119a2c3f

View file

@ -105,7 +105,7 @@ def repo_exists(module, **kwargs):
for k, v in realrepo.items(): for k, v in realrepo.items():
if k in repocmp: if k in repocmp:
if v != repocmp[k]: if v.rstrip("/") != repocmp[k].rstrip("/"):
return False return False
return True return True