Skip to content

Commit

Permalink
get_queued_jobs only checks normal queued jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mich committed Jan 29, 2015
1 parent 5358527 commit d29aebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starcluster/balancers/sge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def get_queued_jobs(self):
"""
queued = []
for j in self.jobs:
if j['job_state'] == u'pending':
if j['job_state'] == u'pending' and j['state'] == u'qw':
queued.append(j)
return queued

Expand Down

0 comments on commit d29aebc

Please sign in to comment.