Fix select.epoll() not found AttributeError by changing import order

Change-Id: I17728edece55cfcf0f5682d9eaeecedd8e99cf26
This commit is contained in:
Pooja Ghumre 2017-01-31 17:53:12 -08:00 committed by Kaustubh Phatak
parent b38b97f446
commit 84a8238118
2 changed files with 4 additions and 3 deletions

View File

@ -15,15 +15,15 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
from paste.deploy import loadapp
from eventlet import wsgi
import eventlet
eventlet.monkey_patch()
from eventlet import wsgi
from paste.deploy import loadapp
import argparse, logging
import logging.handlers
import ConfigParser, os
from mors import mors_wsgi
eventlet.monkey_patch()
def _get_arg_parser():
parser = argparse.ArgumentParser(description="Lease Manager for VirtualMachines")
parser.add_argument('--config-file', dest='config_file', default='/etc/pf9/pf9-mors.ini')

View File

@ -43,6 +43,7 @@ setup(name='mors',
'sqlalchemy-migrate==0.9.5',
'PyMySQL',
'eventlet==0.18.4',
'requests==2.13',
'nose',
'proboscis'
],