diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-29 04:39:12 +0000 | 
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-29 04:39:12 +0000 | 
| commit | 3bd844e695c8295c23d64d816bd763543cc9728f (patch) | |
| tree | 5c8ae0b247d082498a3e9c02e1eeca9af6a1f0c2 /Demo/scripts/lpwatch.py | |
| parent | c4996ba794d9438be8e472ad5f6c3c55fbf751e8 (diff) | |
| download | cpython-git-3bd844e695c8295c23d64d816bd763543cc9728f.tar.gz | |
Get rid of most of the remaining uses of <>.  There's still Tools/* thogh.
Diffstat (limited to 'Demo/scripts/lpwatch.py')
| -rwxr-xr-x | Demo/scripts/lpwatch.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/scripts/lpwatch.py b/Demo/scripts/lpwatch.py index 8887dee7d3..c3dcb34691 100755 --- a/Demo/scripts/lpwatch.py +++ b/Demo/scripts/lpwatch.py @@ -74,7 +74,7 @@ def makestatus(name, thisuser):              ubytes = ubytes + bytes              users[user] = ujobs, ubytes          else: -            if fields and fields[0] <> 'Rank': +            if fields and fields[0] != 'Rank':                  line = string.strip(line)                  if line == 'no entries':                      line = name + ': idle' @@ -84,7 +84,7 @@ def makestatus(name, thisuser):      #      if totaljobs:          line = '%d K' % ((totalbytes+1023)/1024) -        if totaljobs <> len(users): +        if totaljobs != len(users):              line = line + ' (%d jobs)' % totaljobs          if len(users) == 1:              line = line + ' for %s' % (users.keys()[0],)  | 
