Skip to content

Commit

Permalink
Check for gevent presence in concert script
Browse files Browse the repository at this point in the history
  • Loading branch information
tfarago committed Sep 9, 2014
1 parent dc37f38 commit e9f67a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/concert
Expand Up @@ -12,6 +12,7 @@ import tempfile
import traceback
import zipfile
import concert
import concert.async
import concert.config
import concert.session.management as cs
from concert.helpers import Command
Expand Down Expand Up @@ -52,7 +53,7 @@ def get_ipython_shell(config=None):
from IPython.terminal.embed import InteractiveShellEmbed
shell = InteractiveShellEmbed(config=config, banner1='')

if concert.config.ENABLE_GEVENT:
if concert.config.ENABLE_GEVENT and concert.async.HAVE_GEVENT:
if cmp_versions(version, '2.0') < 0:
from IPython.lib.inputhook import inputhook_manager
from concert.ext.gevent import inputhook_gevent
Expand Down

0 comments on commit e9f67a3

Please sign in to comment.