mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix #42115: parse libcloud "rc" version correctly
This commit is contained in:
parent
6a3c03c2d5
commit
b27b1e340a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ try:
|
|||
)
|
||||
HAS_LIBCLOUD = True
|
||||
LIBCLOUD_VERSION_INFO = tuple([
|
||||
int(part) for part in libcloud.__version__.replace('-', '.').split('.')[:3]
|
||||
int(part) for part in libcloud.__version__.replace('-', '.').replace('rc', '.').split('.')[:3]
|
||||
])
|
||||
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Reference in a new issue