def _check_valid_version():
 bower_version = distutils.version.LooseVersion(__salt__['cmd.run']('bower --version'))
 valid_version = distutils.version.LooseVersion('1.3')
 if (bower_version < valid_version):
  raise CommandExecutionError("'bower' is not recent enough({0} < {1}). Please Upgrade.".format(bower_version, valid_version))

def _check_valid_version ( ) : bower_version = distutils . version . LooseVersion ( __salt__ [ 'cmd.run' ] ( 'bower --version' ) ) valid_version = distutils . version . LooseVersion ( '1.3' ) if ( bower_version < valid_version ) : raise CommandExecutionError ( "'bower' is not recent enough({0} < {1}). Please Upgrade." . format ( bower_version , valid_version ) )
check the version of bower to ensure this module will work .