remove global decl about unused variable

This commit is contained in:
Jeremy Hylton 2001-04-09 04:31:50 +00:00
parent 80e29bd139
commit 0e8468c8ba
1 changed files with 0 additions and 1 deletions

View File

@ -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)