Skip to content

Commit

Permalink
Merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
icanb committed Apr 7, 2015
1 parent ff28837 commit ca035fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tangod.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def getJobs(self, item):
return self.jobQueue.deadJobs.values()

elif item == 0: # return the list of live jobs
return self.jobQueue.jobQueue.values()
return self.jobQueue.liveJobs.values()

else: # invalid parameter
return []
Expand Down Expand Up @@ -207,7 +207,7 @@ def resetTango(self, vmms):
log.warning("Killed these %s VMs on restart: %s" %
(vmms_name, namelist))

for job in self.jobQueue.jobQueue.values():
for job in self.jobQueue.liveJobs.values():
self.log.debug("job: %s, assigned: %s" %
(str(job.name), str(job.assigned)))

Expand Down

0 comments on commit ca035fe

Please sign in to comment.