Ticket #40: jobmond.py.patch

File jobmond.py.patch, 626 bytes (added by aloga@…, 17 years ago)
  • jobmond.py

    old new  
    613613               for node in mynoderequest.split( '+' ):
    614614
    615615                   nodepart = node.split( ':' )[0]
     616                   numeric_node=0
    616617
    617618                   for letter in nodepart:
    618619
    619                        if letter not in string.digits:
     620                       if letter in string.digits:
    620621
    621                            numeric_node = 0
     622                           numeric_node = 1
    622623
    623624                   if not numeric_node:
    624625                       count_mynodes = count_mynodes + 1