mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Get rid of most of the remaining uses of <>. There's still Tools/* thogh.
This commit is contained in:
parent
c4996ba794
commit
3bd844e695
16 changed files with 23 additions and 49 deletions
|
@ -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],)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue