Changeset 189 for trunk/debian


Ignore:
Timestamp:
05/13/09 16:28:14 (15 years ago)
Author:
bas
Message:

Preparing for new release 3.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r186 r189  
     1pbs-python (3.2.0-1) intrepid; urgency=low
     2
     3  *  PBSQuery:
     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
     6         dictionary values are now of type list or dictionary depends
     7         on the value of keyword, eg for a node:
     8          - np = 2:
     9                - node['np'] = [ '2' ] 
     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' ]
     14                - node['status']['sessions'] = [ '222599' ]
     15                - ...
     16
     17         The data structure is activated by the function:
     18          - new_data_structure()
     19
     20         In a future release it will be come the default.
     21         example:
     22                p = PBSQuery()
     23                p.new_data_structure()
     24
     25                nodes = p.getnodes()
     26                print nodes.np, nodes['np']
     27
     28         Author: Bas van der Vlies
     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
     38
    139pbs-python (3.0.1-2) intrepid; urgency=low
    240
Note: See TracChangeset for help on using the changeset viewer.