mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove weird PY3 restriction
The issue with different behavior between Python 2 and 3 was fixed in
ffdae27877
around the same time the
original PR was opened. There is no need to restrict this code
exclusively to Python 3.
This commit is contained in:
parent
15a0b35f8e
commit
af884cef10
1 changed files with 1 additions and 4 deletions
|
@ -2372,10 +2372,7 @@ def request_instance(vm_):
|
|||
"'pd-standard', 'pd-ssd'"
|
||||
)
|
||||
|
||||
# GCE accelerator options are only supported as of libcloud >= 2.3.0
|
||||
# and Python 3+ is required so that libcloud will detect a type of
|
||||
# 'string' rather than 'unicode'
|
||||
if LIBCLOUD_VERSION_INFO >= (2, 3, 0) and isinstance("test", str):
|
||||
if LIBCLOUD_VERSION_INFO >= (2, 3, 0):
|
||||
|
||||
kwargs.update(
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue