mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
squelch E0611 due to salt not being installed (per se) on/under Travis
This commit is contained in:
parent
8931ecdc2d
commit
be155731c3
@ -22,7 +22,7 @@ def __get_version(version, version_info):
|
||||
'''
|
||||
try:
|
||||
# Try to import the version information provided at install time
|
||||
from salt._version import __version__, __version_info__
|
||||
from salt._version import __version__, __version_info__ # pylint: disable=E0611
|
||||
return __version__, __version_info__
|
||||
except ImportError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user