From 5dcc66c8448c9b14f442f32ca98e777fe6230844 Mon Sep 17 00:00:00 2001 From: lfield Date: Tue, 15 Oct 2024 18:48:26 +0200 Subject: [PATCH] Replace outdated xquery command --- contrib/bdii/htcondor-ce-provider | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bdii/htcondor-ce-provider b/contrib/bdii/htcondor-ce-provider index c28a8329b..8914d2802 100755 --- a/contrib/bdii/htcondor-ce-provider +++ b/contrib/bdii/htcondor-ce-provider @@ -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