Adapt to new messaging protocol (add metadata)

As this change just introduces an additional key in outgoing
message, the new version of EIN also works with previous versions
of IPython.

fixes #46
This commit is contained in:
Takafumi Arakaki 2012-08-07 00:54:36 +02:00
parent ac29aa2e8a
commit ed0bd74630

View file

@ -104,6 +104,7 @@ FIXME: document other slots."
:username (ein:$kernel-username kernel)
:session (ein:$kernel-session-id kernel)
:msg_type msg-type)
:metadata (make-hash-table)
:content content
:parent_header (make-hash-table)))