diff options
author | Guido van Rossum <guido@python.org> | 1992-05-19 13:51:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-05-19 13:51:20 (GMT) |
commit | f628a985ffce3a027d76d7b271dc0c3d81892d30 (patch) | |
tree | 798e34fb85d0adee96a40e1947b516bf4c348ad9 /Demo/sockets/finger.py | |
parent | 61cfd96003aca03518e848a0fc5490787bf066ff (diff) | |
download | cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.zip cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.gz cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.bz2 |
New == syntax
Diffstat (limited to 'Demo/sockets/finger.py')
-rwxr-xr-x | Demo/sockets/finger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/finger.py b/Demo/sockets/finger.py index 8aa0535..01c0b6c 100755 --- a/Demo/sockets/finger.py +++ b/Demo/sockets/finger.py @@ -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:] |