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