Simplified the scheduler very slightly

Change-Id: I57bba2feb35f3d1657e3a85a9087604ac08edc16
This commit is contained in:
Alex Gaynor 2014-06-04 11:15:26 -07:00
parent aa4f2e7a3a
commit fda4c359c9
1 changed files with 1 additions and 3 deletions

View File

@ -876,9 +876,7 @@ class Scheduler(threading.Thread):
pipelines = []
data['pipelines'] = pipelines
keys = self.layout.pipelines.keys()
for key in keys:
pipeline = self.layout.pipelines[key]
for pipeline in self.layout.pipelines.values():
pipelines.append(pipeline.formatStatusJSON())
return json.dumps(data)