Fix select.epoll() not found AttributeError by changing import order
Change-Id: I17728edece55cfcf0f5682d9eaeecedd8e99cf26
This commit is contained in:
parent
b38b97f446
commit
84a8238118
@ -15,15 +15,15 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from paste.deploy import loadapp
|
|
||||||
from eventlet import wsgi
|
|
||||||
import eventlet
|
import eventlet
|
||||||
|
eventlet.monkey_patch()
|
||||||
|
from eventlet import wsgi
|
||||||
|
from paste.deploy import loadapp
|
||||||
import argparse, logging
|
import argparse, logging
|
||||||
import logging.handlers
|
import logging.handlers
|
||||||
import ConfigParser, os
|
import ConfigParser, os
|
||||||
from mors import mors_wsgi
|
from mors import mors_wsgi
|
||||||
|
|
||||||
eventlet.monkey_patch()
|
|
||||||
def _get_arg_parser():
|
def _get_arg_parser():
|
||||||
parser = argparse.ArgumentParser(description="Lease Manager for VirtualMachines")
|
parser = argparse.ArgumentParser(description="Lease Manager for VirtualMachines")
|
||||||
parser.add_argument('--config-file', dest='config_file', default='/etc/pf9/pf9-mors.ini')
|
parser.add_argument('--config-file', dest='config_file', default='/etc/pf9/pf9-mors.ini')
|
||||||
|
Loading…
Reference in New Issue
Block a user