New == syntax

This commit is contained in:
Guido van Rossum 1992-05-19 13:51:20 +00:00
parent 61cfd96003
commit f628a985ff
4 changed files with 10 additions and 10 deletions

View file

@ -37,7 +37,7 @@ def finger(host, args):
def main():
options = ''
i = 1
while i < len(sys.argv) and sys.argv[i][:1] = '-':
while i < len(sys.argv) and sys.argv[i][:1] == '-':
options = options + sys.argv[i] + ' '
i = i+1
args = sys.argv[i:]