Commit 83a88219 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

Queue output made consistent

parent 64fc9873
......@@ -291,11 +291,12 @@ class Queue(CoreObject):
from Globals import G
json = {'_class': 'Dream.%s' % self.__class__.__name__,
'id': str(self.id),
'family': self.family}
'family': self.family,
'results': {} }
# XXX this have to be updated to support multiple generations
# if G.numberOfReplications == 1 and self.wip_stat_list:
# json['wip_stat_list'] = self.wip_stat_list
# XXX this have to be updated to support multiple generations
if G.numberOfReplications == 1 and self.gatherWipStat:
json['wip_stat_list']=self.wipStatList
json['results']['wip_stat_list']=self.wipStatList
G.outputJSON['elementList'].append(json)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment