Show More
@@ -455,9 +455,9 b' class AsyncResult(object):' | |||
|
455 | 455 | targets, stdouts, stderrs, output_lists, results, pyouts |
|
456 | 456 | ): |
|
457 | 457 | if stdout: |
|
458 |
print '[stdout:% |
|
|
458 | print '[stdout:%i]' % eid, stdout | |
|
459 | 459 | if stderr: |
|
460 |
print >> sys.stderr, '[stderr:% |
|
|
460 | print >> sys.stderr, '[stderr:%i]' % eid, stderr | |
|
461 | 461 | |
|
462 | 462 | try: |
|
463 | 463 | get_ipython() |
@@ -475,12 +475,12 b' class AsyncResult(object):' | |||
|
475 | 475 | # republish stdout: |
|
476 | 476 | if any(stdouts): |
|
477 | 477 | for eid,stdout in zip(targets, stdouts): |
|
478 |
print '[stdout:% |
|
|
478 | print '[stdout:%i]' % eid, stdout | |
|
479 | 479 | |
|
480 | 480 | # republish stderr: |
|
481 | 481 | if any(stderrs): |
|
482 | 482 | for eid,stderr in zip(targets, stderrs): |
|
483 |
print >> sys.stderr, '[stderr:% |
|
|
483 | print >> sys.stderr, '[stderr:%i]' % eid, stderr | |
|
484 | 484 | |
|
485 | 485 | try: |
|
486 | 486 | get_ipython() |
@@ -119,8 +119,8 b' class ExecuteReply(object):' | |||
|
119 | 119 | normal = TermColors.Normal |
|
120 | 120 | |
|
121 | 121 | p.text( |
|
122 |
u'[% |
|
|
123 |
out + u'Out[% |
|
|
122 | u'[%i] ' % self.metadata['engine_id'] + | |
|
123 | out + u'Out[%i]: ' % self.execution_count + | |
|
124 | 124 | normal + text_out |
|
125 | 125 | ) |
|
126 | 126 |
|
1 | NO CONTENT: modified file |
General Comments 0
You need to be logged in to leave comments.
Login now