Changeset 191 for trunk/debian
- Timestamp:
- 05/14/09 13:47:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/changelog
r189 r191 3 3 * PBSQuery: 4 4 New data structure. In the old structure it is a dictionary 5 with a value and the value is a string. This is changed that 5 with a value and the value is a string. This is changed that 6 6 dictionary values are now of type list or dictionary depends 7 7 on the value of keyword, eg for a node: 8 - np = 2: 9 - node['np'] = [ '2' ] 8 - np = 2: 9 - node['np'] = [ '2' ] 10 10 - properties = cores2, mem4gb, parallel 11 - node['properties'] = [ 'cores2', 'mem4gb', 'parallel' ] 12 - status = arch=x86_64,sessions=22599,,size=70627864kb, ... 13 - node['status']['arch'] = [ 'x86_64' ] 11 - node['properties'] = [ 'cores2', 'mem4gb', 'parallel' ] 12 - status = arch=x86_64,sessions=22599,,size=70627864kb, ... 13 - node['status']['arch'] = [ 'x86_64' ] 14 14 - node['status']['sessions'] = [ '222599' ] 15 15 - ... … … 21 21 example: 22 22 p = PBSQuery() 23 p.new_data_structure() 23 p.new_data_structure() 24 24 25 25 nodes = p.getnodes() … … 28 28 Author: Bas van der Vlies 29 29 30 * PBSQuery 31 For old and new data structure we now can use another syntax: 32 - node['np'] and node.np are equivalent 33 34 This new syntax works for all keywords. 35 Author: Bas van der Vlies 36 37 -- Bas van der Vlies <basv@sara.nl> Wed, 13 May 2009 16:20:27 +0200 30 * PBSQuery: 31 For old and new data structure we now can use another syntax: 32 - node['np'] and node.np are equivalent 33 34 This new syntax works for all keywords. 35 Author: Bas van der Vlies 36 37 * PBSQuery: 38 Added iter object for job, node, queue and server objects, eg: 39 node = p.getnode('gb-r1n1') 40 print node.name 41 for attrib in node: 42 print '%\t%s = %s' %(attrib, node[attrib]) 43 Author: Bas van der Vlies 44 45 * PBSQuery: 46 fixed an error in getnode, getqueue and getjob, return 47 empty dictionary if not found. 48 Author: Bas van der Vlies 49 50 * PBSQuery: 51 New build system for rpm packages, make -f Makefile.rpm 52 Author: Michel Jouvin <jouvin add lal dot in2p3 dot fr> 53 Applied: Bas van der Vlies 54 55 -- Bas van der Vlies <bas@rc.sara.nl> Thu, 14 May 2009 13:41:00 +0200 38 56 39 57 pbs-python (3.0.1-2) intrepid; urgency=low
Note: See TracChangeset
for help on using the changeset viewer.