Skip to content

Instantly share code, notes, and snippets.

@juliantaylor
juliantaylor / console.py.20110802.diff
Created August 5, 2011 15:28 — forked from ogra/console.py.20110802.diff
Scrapy 0.12.0.2543 scrapy/utils/console.py patch for IPython 0.11
--- console.py.orig 2011-07-31 08:01:34.000000000 +0000
+++ console.py 2011-08-02 20:38:56.000000000 +0000
@@ -11,7 +11,10 @@
if noipython:
raise ImportError
import IPython
- shell = IPython.Shell.IPShellEmbed(argv=[], user_ns=namespace)
+ if IPython.__version__ == '0.11':
+ IPython.embed(user_ns=namespace)
+ else:
the extra free line after description is unnecessary
- I'm not sure what you mean. which line, exactly?
Description: Asynchronous Messaging Protocol library for .NET.
. <<<<<<<<<<<<<<<<< this one
AMP is an RPC protocol for sending multiple asynchronous request/response
add a watchfile debian/watch, content:
version=3
https://launchpad.net/ampsharp/+download .*/AMPSharp-src-([\d.]+).zip