mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
1241ab5fc6
commit
8d907ee1a0
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def _get_moto_version():
|
|||
Returns the moto version
|
||||
'''
|
||||
try:
|
||||
return LooseVersion(moto.__version__)
|
||||
return LooseVersion(six.text_type(moto.__version__))
|
||||
except AttributeError:
|
||||
try:
|
||||
return LooseVersion(pkg_resources.get_distribution('moto').version)
|
||||
|
|
Loading…
Add table
Reference in a new issue