From 0e8468c8baffd5696cdaf83d5829262e3934d81d Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Mon, 9 Apr 2001 04:31:50 +0000 Subject: remove global decl about unused variable --- Lib/ftplib.py | 1 - 1 file changed, 1 deletion(-) 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 @@ 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) -- cgit v0.12