Changeset 242


Ignore:
Timestamp:
07/08/10 14:57:08 (14 years ago)
Author:
bas
Message:

applied a patch for pbsmon.py

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGES

    r241 r242  
    33  (jsbronder add gentoo dot org) for the information and
    44  explanation.
     5
     6 * examples/pbsmon.py. Patched so it also works for torque 2.5
     7   Author: Stijn De Weirdt stijn dot deweirdt at ugent dot be
     8   Applied by: Bas van der Vlies
    59
    610=========== 4.1.2
  • trunk/debian/changelog

    r240 r242  
     1pbs-python (4.1.3-1) lenny; urgency=low
     2
     3  * Update LICENSE file to LGPLV3
     4  * patched pbsmon.py for torque 2.5
     5
     6 -- bas van der Vlies <bas@sara.nl>  Thu, 10 Jun 2010 10:27:43 +0200
     7
    18pbs-python (4.1.2-1) lenny; urgency=low
    29
  • trunk/examples/pbsmon.py

    r134 r242  
    134134    #
    135135    if state == pbs.ND_free:
    136        if len(node_attr) > 1:
     136       if len([x for x in node_attr if x.name == 'jobs']):
    137137          state_list.append(translate_state[pbs_ND_free_and_job])
    138138       else:
  • trunk/src/PBSQuery.py

    r240 r242  
    434434                                    if jobstr not in l:
    435435                                        l.append(jobstr)           
    436 
    437436                                return l
    438437
Note: See TracChangeset for help on using the changeset viewer.