mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
Don't change the default asyncio loop policy
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
90e2a20a45
commit
cf76f70a7d
1 changed files with 0 additions and 4 deletions
|
@ -2,16 +2,12 @@
|
|||
Salt package
|
||||
"""
|
||||
|
||||
import asyncio
|
||||
import importlib
|
||||
import locale
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
||||
|
||||
if sys.version_info < (3,): # pragma: no cover
|
||||
sys.stderr.write(
|
||||
"\n\nAfter the Sodium release, 3001, Salt no longer supports Python 2. Exiting.\n\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue