8000 Remove unused parameter job_ids by meliache · Pull Request #110 · riga/law · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove unused parameter job_ids #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions law/contrib/htcondor/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def query(self, job_id, pool=None, scheduler=None, user=None, silent=False):
"\n{}".format(job_id, code, err))

# parse the output and update query data
query_data.update(self.parse_long_output(out, job_ids=missing_ids))
query_data.update(self.parse_long_output(out))

# compare to the requested job ids and perform some checks
for _job_id in job_ids:
Expand All @@ -237,7 +237,7 @@ def query(self, job_id, pool=None, scheduler=None, user=None, silent=False):
return query_data if chunking else query_data[job_id]

@classmethod
def parse_long_output(cls, out, job_ids=None):
def parse_long_output(cls, out):
# retrieve information per block mapped to the job id
query_data = {}
for block in out.strip().split("\n\n"):
Expand Down
0