id summary reporter owner description type status priority milestone component version resolution keywords cc 16 PBSQuery module enhancement bas bas "getnode(s) function now returns a dictionary with values, eg pbsnodes: : {{{ gb-r16n1 state = job-exclusive np = 2 properties cores2,fabric1,gigabit,infiniband,mem4gb,parallel,switchF ntype = cluster jobs = 0/2171604.batch-ng.irc.sara.nl, 1/2171604.batch-ng.irc.sara.nl status = arch=x86_64,opsys=linux,uname=Linux ib-r16n1.irc.sara.nl 2.6.29.1-sara1 #1 SMP Mon Apr 6 15:43:08 CEST 2009 x86_64,sessions=32128,nsessions=1,nusers=1,idletime=24505,totmem=8039848kb,availmem=7556400kb,physmem=4039856kb,ncpus=2,loadave=2.32,gres=max_jobs:1+ideal_jobs:1,netload=3403654969,size=71647620kb:71652296kb,state=free,jobs=2171604.batch-ng.irc.sara.nl,rectime=1241791421 }}} This is not useful at all. I will change the structure as follow: 1. key = value, value ---> key = list([ value, value ]), key value is a list 1. key = name1=value1 name2=value2---> key = dict( [name1] = value1, [name2] = value2), key value is a dictionary The programming will be easier: 1. print !node['state']['arch'] 1. if 'cores2' in !node['properties'] " enhancement closed major PBSQuery 3.0.1 fixed