diff -uNr pbs_python-4.3.3.ORIG/src/pbs_2.1.py pbs_python-4.3.3/src/pbs_2.1.py
old
|
new
|
|
740 | 740 | l = string.split(str, '=') |
741 | 741 | key = string.strip(l[0]) |
742 | 742 | if len(l) > 2: |
743 | | val = string.strip( '='.join(l[1:]) ) |
| 743 | val = string.strip( '='.join(l[1:]) ) |
744 | 744 | else: |
745 | | val = string.strip(l[1]) |
| 745 | val = string.strip(l[1]) |
746 | 746 | |
747 | 747 | key = string.strip(key) |
748 | 748 | val = string.strip(val) |
diff -uNr pbs_python-4.3.3.ORIG/src/PBSQuery.py pbs_python-4.3.3/src/PBSQuery.py
old
|
new
|
|
509 | 509 | if unique: |
510 | 510 | for j in jobs: |
511 | 511 | jobstr = job_re.findall(j.strip())[0] |
512 | | if jobstr not in l: |
513 | | l.append(jobstr) |
| 512 | if jobstr not in l: |
| 513 | l.append(jobstr) |
514 | 514 | |
515 | 515 | return l |
516 | 516 | else: |