From: peusterm Date: Mon, 14 May 2018 16:52:00 +0000 (+0200) Subject: Fix: Crashbug that was caused by an import of an X-Git-Tag: v4.0.0~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F6143%2F1;p=osm%2Fvim-emu.git Fix: Crashbug that was caused by an import of an outdated module that was removed from Gevent 1.3 that was released two days ago. Change-Id: I44dff2b468456ed2c24fa8e326ebc535bb04344b Signed-off-by: peusterm --- diff --git a/setup.py b/setup.py index a28df09..94f632f 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,8 @@ setup(name='emuvim', 'requests', 'prometheus_client', 'ipaddress', - 'simplejson' + 'simplejson', + 'gevent' ], zip_safe=False, entry_points={ diff --git a/src/emuvim/api/rest/rest_api_endpoint.py b/src/emuvim/api/rest/rest_api_endpoint.py index 0539e7d..a980dc9 100755 --- a/src/emuvim/api/rest/rest_api_endpoint.py +++ b/src/emuvim/api/rest/rest_api_endpoint.py @@ -30,7 +30,7 @@ import logging import threading from flask import Flask from flask_restful import Api -from gevent.wsgi import WSGIServer +from gevent.pywsgi import WSGIServer # need to import total module to set its global variable dcs import compute