commit | f628a985ffce3a027d76d7b271dc0c3d81892d30 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue May 19 13:51:20 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue May 19 13:51:20 1992 +0000 |
tree | 798e34fb85d0adee96a40e1947b516bf4c348ad9 | |
parent | 61cfd96003aca03518e848a0fc5490787bf066ff [diff] [blame] |
New == syntax
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 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:]