Lots of formatting fixes

This commit is contained in:
Michael DeHaan
2013-05-24 23:46:23 -04:00
parent 9c5d6f11f0
commit 3a635d2d26
11 changed files with 88 additions and 89 deletions

View File

@@ -112,9 +112,9 @@ def main():
# deb http://myserver/path/to/repo free non-free
for i in repo_url.split():
for prot in ['http', 'file', 'ftp']:
if prot in i:
repo_url = i
break
if prot in i:
repo_url = i
break
exists = repo_exists(module, repo_url)
rc = 0