mirror of https://github.com/python/cpython
remove global decl about unused variable
This commit is contained in:
parent
80e29bd139
commit
0e8468c8ba
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue