Changeset 205 for trunk/debian


Ignore:
Timestamp:
11/12/09 15:43:13 (14 years ago)
Author:
bas
Message:

Preparing for new version 3.5

src/PBSQuery.py:

  • rewrite of dictionary code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r203 r205  
    1 pbs-python (3.2.5-2) intrepid; urgency=low
     1pbs-python (3.5.0-1) lenny; urgency=low
    22
    33  * PBSQuery
    4         The class function of node, job and queue support old and new data
     4        The class functions of node, job and queue support old and new data
    55        structure.
     6
     7        Changed the behaviour of the new data stucture, We can use it as
     8        dictionary and as class attribute, this is equivalent, eg:
     9          - print node['np'] and print node.np
     10
     11        for a node we parse the 'status' line and split on '=' char, You now can
     12        use these statements, eg
     13          - print node.status.arch     (node['status'].arch or node['status']['arch'])
     14          - print node.status.nsession
     15
     16        for a job we parse the 'Variable_List' line and split on '=' char, You now can
     17        use the statements, eg:
     18          - print job.Variable_List.PBS_O_WORKDIR
     19          - print job.Variable_List.PBS_O_HOME
     20
     21        For more info see examples/new_interface.py
     22
    623    Author: Bas van der Vlies
    724
     
    1330   Author: Bas van der Vlies
    1431
    15  -- Bas van der Vlies <bas@rc.sara.nl>  Mon, 18 May 2009 17:03:16 +0200
     32 -- Bas van der Vlies <bas@rc.sara.nl>  Mon, 12 Nov 2009 15:03:16 +0200
    1633
    1734pbs-python (3.2.0-1) intrepid; urgency=low
Note: See TracChangeset for help on using the changeset viewer.