From a05cee090bb5ac6360ecf7bbac8cdecbf5592f0d Mon Sep 17 00:00:00 2001 From: peusterm Date: Thu, 14 Nov 2019 13:22:19 +0100 Subject: [PATCH] Fix: Remove monkey patching to progress with migration to Python3 Change-Id: I89a35320df094b476fdfe90c95749bd7cb536934 Signed-off-by: peusterm --- src/emuvim/api/openstack/chain_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emuvim/api/openstack/chain_api.py b/src/emuvim/api/openstack/chain_api.py index fde3a42..21cb65b 100755 --- a/src/emuvim/api/openstack/chain_api.py +++ b/src/emuvim/api/openstack/chain_api.py @@ -27,7 +27,7 @@ import json import logging import copy -from gevent import monkey +# from gevent import monkey from gevent.pywsgi import WSGIServer from mininet.node import OVSSwitch @@ -36,7 +36,7 @@ from flask import Flask from flask import Response, request from flask_restful import Api, Resource -monkey.patch_all() +# monkey.patch_all() class ChainApi(Resource): -- 2.25.1