Skip to content

Commit

Permalink
Replace outdated xquery command
Browse files Browse the repository at this point in the history
  • Loading branch information
lfield authored Oct 15, 2024
1 parent 7e66478 commit 5dcc66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/bdii/htcondor-ce-provider
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_ce_jobs(ce_schedd_ad, time_out):
ce_fqdn = ce_schedd_ad['Machine']
try:
ce_schedd = htcondor.Schedd(ce_schedd_ad)
query = ce_schedd.xquery(projection=["JobStatus", "x509userproxyvoname"])
query = ce_schedd.query(projection=["JobStatus", "x509userproxyvoname"])
except RuntimeError as exc:
sys.stderr.write("%s: %s\n" % (exc, ce_fqdn))
raise
Expand Down

0 comments on commit 5dcc66c

Please sign in to comment.