summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/finger.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-05-19 13:51:20 (GMT)
committerGuido van Rossum <guido@python.org>1992-05-19 13:51:20 (GMT)
commitf628a985ffce3a027d76d7b271dc0c3d81892d30 (patch)
tree798e34fb85d0adee96a40e1947b516bf4c348ad9 /Demo/sockets/finger.py
parent61cfd96003aca03518e848a0fc5490787bf066ff (diff)
downloadcpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.zip
cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.gz
cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.bz2
New == syntax
Diffstat (limited to 'Demo/sockets/finger.py')
-rwxr-xr-xDemo/sockets/finger.py2
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:]