Lint: remove extra spaces

This commit is contained in:
Mircea Ulinic 2017-11-13 14:24:21 +00:00
parent c6a38258a3
commit f45378af04
No known key found for this signature in database
GPG key ID: 4286FAD4BACBB073

View file

@ -97,7 +97,7 @@ def virtual(opts, virtualname, filename):
'''
Returns the __virtual__.
'''
if ( (HAS_NAPALM and NAPALM_MAJOR >= 2) or HAS_NAPALM_BASE ) and ( is_proxy(opts) or is_minion(opts) ):
if ((HAS_NAPALM and NAPALM_MAJOR >= 2) or HAS_NAPALM_BASE) and (is_proxy(opts) or is_minion(opts)):
if HAS_NAPALM_BASE:
log.info('You still seem to use napalm_base. Please consider upgrading to napalm >= 2.0.0')
return virtualname