>>> if int( myjob.eval(["RequestCpus"])) not in cpus: ... EXCEPTION [1]Ah - small syntax error here. I think you mean instead:
ah, shoot - you are right! initially, I used in the test the ad's get-shorthand myjob["RequestCpus"] and changing to eval() I missed the square brackets ð myjob.eval(["RequestCpus"]) instead of mujob.eval("RequestCpus") sorry for the noise... ð
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature