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