mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
fix pylint
This commit is contained in:
parent
ac4133f432
commit
a67b61eb33
@ -81,8 +81,6 @@ class SaltNeutron(NeutronShell):
|
|||||||
'''
|
'''
|
||||||
Set up neutron credentials
|
Set up neutron credentials
|
||||||
'''
|
'''
|
||||||
if not HAS_NEUTRON:
|
|
||||||
return None
|
|
||||||
__utils__['versions.warn_until'](
|
__utils__['versions.warn_until'](
|
||||||
'Neon',
|
'Neon',
|
||||||
(
|
(
|
||||||
@ -90,6 +88,8 @@ class SaltNeutron(NeutronShell):
|
|||||||
'Please update to using the neutronng module'
|
'Please update to using the neutronng module'
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
if not HAS_NEUTRON:
|
||||||
|
return None
|
||||||
|
|
||||||
elif all([use_keystoneauth, HAS_KEYSTONEAUTH]):
|
elif all([use_keystoneauth, HAS_KEYSTONEAUTH]):
|
||||||
self._new_init(username=username,
|
self._new_init(username=username,
|
||||||
|
Loading…
Reference in New Issue
Block a user