mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix some formatting (line length)
This commit is contained in:
parent
a52773e940
commit
2826fc6503
@ -188,7 +188,7 @@ def managed(name, **kwargs):
|
||||
repo = __salt__['pkg.get_repo'](
|
||||
repokwargs['repo'],
|
||||
ppa_auth=repokwargs.get('ppa_auth', None)
|
||||
)
|
||||
)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
@ -226,7 +226,8 @@ def managed(name, **kwargs):
|
||||
return ret
|
||||
try:
|
||||
repodict = __salt__['pkg.get_repo'](repokwargs['repo'],
|
||||
ppa_auth=repokwargs.get('ppa_auth', None))
|
||||
ppa_auth=repokwargs.get('ppa_auth',
|
||||
None))
|
||||
if repo:
|
||||
for kwarg in sanitizedkwargs:
|
||||
if repodict.get(kwarg) != repo.get(kwarg):
|
||||
@ -278,7 +279,8 @@ def absent(name, **kwargs):
|
||||
kwargs['name'] = kwargs.pop('ppa')
|
||||
|
||||
try:
|
||||
repo = __salt__['pkg.get_repo'](name, ppa_auth=kwargs.get('ppa_auth', None))
|
||||
repo = __salt__['pkg.get_repo'](name,
|
||||
ppa_auth=kwargs.get('ppa_auth', None))
|
||||
except Exception:
|
||||
pass
|
||||
if not repo:
|
||||
|
Loading…
Reference in New Issue
Block a user