mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Lint: Fixup undefined variable errors
This commit is contained in:
parent
788ad0609a
commit
1d4a6c3949
3
setup.py
3
setup.py
@ -190,8 +190,9 @@ class WriteSaltVersion(Command):
|
||||
exit(1)
|
||||
|
||||
if not self.distribution.with_salt_version:
|
||||
salt_version = __saltstack_version__
|
||||
salt_version = __saltstack_version__ # pylint: disable=undefined-variable
|
||||
else:
|
||||
from salt.version import SaltStackVersion
|
||||
salt_version = SaltStackVersion.parse(self.distribution.with_salt_version)
|
||||
|
||||
# pylint: disable=E0602
|
||||
|
Loading…
Reference in New Issue
Block a user