/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/jplist/jplist
ViewVC logotype

Diff of /trunk/nl.nikhef.ndpf.tools/jplist/jplist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2543 by templon, Wed Apr 25 09:38:58 2012 UTC revision 2544 by templon, Fri Apr 27 17:13:42 2012 UTC
# Line 51  for line in lines: Line 51  for line in lines:
51      flds = line.split()      flds = line.split()
52      jid = flds[JID]      jid = flds[JID]
53      rank = flds[SCHEDRANK]      rank = flds[SCHEDRANK]
54      usr = jud[jid]      if jid in jud.keys():
55      if rank not in jpd.keys():          usr = jud[jid]
56          jpd[rank] = dict()          if rank not in jpd.keys():
57      if usr not in jpd[rank].keys():              jpd[rank] = dict()
58          jpd[rank][usr] = list()          if usr not in jpd[rank].keys():
59      jpd[rank][usr].append(jid)              jpd[rank][usr] = list()
60            jpd[rank][usr].append(jid)
61    
62  plist = jpd.keys()  plist = jpd.keys()
63  plistnumeric = list()  plistnumeric = list()

Legend:
Removed from v.2543  
changed lines
  Added in v.2544

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28