From: Jeremy Hylton Date: Mon, 9 Apr 2001 04:31:50 +0000 (+0000) Subject: remove global decl about unused variable X-Git-Tag: v2.1c1~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e8468c8baffd5696cdaf83d5829262e3934d81d;p=thirdparty%2FPython%2Fcpython.git remove global decl about unused variable --- diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 1688d9ab88c1..3263281bc305 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -245,7 +245,6 @@ class FTP: 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)