Get rid of monkey patching work around for Python 2 in main.py

Change-Id: I83a7e9473a1eeb0872279317d75bda8737911953
Closes-Bug: #1410709
This commit is contained in:
Dmitry Tantsur 2015-01-20 12:18:17 +01:00
parent 8565f4781d
commit 2e459037f2
3 changed files with 6 additions and 4 deletions
functest
ironic_discoverd

@ -13,9 +13,9 @@
from __future__ import print_function
import eventlet
eventlet.monkey_patch(thread=False)
import ironic_discoverd.test # noqa - pulls in monkey patching
import eventlet
import os
import re
import shutil

@ -11,8 +11,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
import eventlet
eventlet.monkey_patch(thread=False)
eventlet.monkey_patch(thread=(sys.version_info < (3, 3)))
import argparse
import functools

@ -12,4 +12,4 @@
# limitations under the License.
import eventlet
eventlet.monkey_patch(thread=False)
eventlet.monkey_patch(thread=False) # thread=True breaks func tests