commit | 0e8468c8baffd5696cdaf83d5829262e3934d81d | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Apr 09 04:31:50 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Mon Apr 09 04:31:50 2001 +0000 |
tree | ba176c4824149ef9da2d94c3c5dac9ca81c965b6 | |
parent | 80e29bd1392bfae865f2ff44b1fe92a5d0fad7c8 [diff] |
remove global decl about unused variable
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 1688d9a..3263281 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py
@@ -245,7 +245,6 @@ def makeport(self): '''Create a new socket and send a PORT command for it.''' - global nextport sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.bind(('', 0)) sock.listen(1)