Permalink
Browse files

removed unicode from error dict

  • Loading branch information...
1 parent f2c5960 commit 595c3ac7f930ad4cd0b2c4d7f4934f9032ad5bba @minrk minrk committed Oct 27, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 IPython/zmq/parallel/streamsession.py
View
8 IPython/zmq/parallel/streamsession.py
@@ -63,10 +63,10 @@ def wrap_exception():
etype, evalue, tb = sys.exc_info()
tb = traceback.format_exception(etype, evalue, tb)
exc_content = {
- u'status' : u'error',
- u'traceback' : tb,
- u'etype' : unicode(etype),
- u'evalue' : unicode(evalue)
+ 'status' : 'error',
+ 'traceback' : str(tb),
+ 'etype' : str(etype),
+ 'evalue' : str(evalue)
}
return exc_content

0 comments on commit 595c3ac

Please sign in to comment.