We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3191a08 commit 09af086Copy full SHA for 09af086
scrapy/utils/console.py
@@ -12,10 +12,10 @@ def start_python_console(namespace=None, noipython=False):
12
raise ImportError
13
import IPython
14
try:
15
- shell = IPython.embed(user_ns=namespace)
+ IPython.embed(user_ns=namespace)
16
except AttributeError:
17
shell = IPython.Shell.IPShellEmbed(argv=[], user_ns=namespace)
18
- shell()
+ shell()
19
except ImportError:
20
import code
21
try: # readline module is only available on unix systems
0 commit comments