Use SaltStackVersion since we don't yet know when Boron will come out

This commit is contained in:
Pedro Algarvio 2015-01-09 17:03:45 +00:00
parent 3f14678796
commit e2e535824a

View file

@ -435,7 +435,7 @@ class Install(install):
def initialize_options(self):
install.initialize_options(self)
# pylint: disable=undefined-variable
if __saltstack_version__.info >= (2015, 3):
if __saltstack_version__.info >= SaltStackVersion.from_name('Boron'):
# XXX: Remove the Salt Specific Options In Salt Boron. They are now global options
raise DistutilsArgError(
'Developers, please remove the salt paths configuration '