Get rid of most of the remaining uses of <>. There's still Tools/* thogh.

This commit is contained in:
Neal Norwitz 2006-08-29 04:39:12 +00:00
parent c4996ba794
commit 3bd844e695
16 changed files with 23 additions and 49 deletions

View file

@ -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],)