Skip to content

Commit

Permalink
Merge pull request #16 from jpwang2/master
Browse files Browse the repository at this point in the history
fix jobs_ids typo
  • Loading branch information
brentp authored Feb 27, 2020
2 parents 9a76348 + 986fa3a commit 7387554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsub/bsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def poll(self, job_ids, names=False, timeout=0):
return
job_ids = frozenset(job_ids)
sleep_time = 1
while jobs_ids:
while job_ids:
for job in job_ids.intersection(set(self.completed_jobs(names=names))):
job_ids.remove(job)
time.sleep(sleep_time)
Expand Down

0 comments on commit 7387554

Please sign in to comment.