From fad6de8580d8dd35dcb40c07a1a612126f584036 Mon Sep 17 00:00:00 2001 From: Jeremy Auguste <jeremy.auguste@lis-lab.fr> Date: Tue, 13 Nov 2018 16:58:17 +0100 Subject: [PATCH] Oops wrong operator --- oargen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oargen.py b/oargen.py index 450e973..2006af9 100755 --- a/oargen.py +++ b/oargen.py @@ -60,7 +60,7 @@ def prepare_oarsub(gpu, hosts, core, time, properties += "(gpu IS NULL)" if hosts: for host in hosts: - properties += " AND host LIKE '{}'".format(host) + properties += " OR host LIKE '{}'".format(host) if ignore_hosts: for host in ignore_hosts: properties += " AND host NOT LIKE '{}'".format(host) -- GitLab