projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e29bd
)
remove global decl about unused variable
author
Jeremy Hylton
<jeremy@alum.mit.edu>
Mon, 9 Apr 2001 04:31:50 +0000
(
04:31
+0000)
committer
Jeremy Hylton
<jeremy@alum.mit.edu>
Mon, 9 Apr 2001 04:31:50 +0000
(
04:31
+0000)
Lib/ftplib.py
patch
|
blob
|
history
diff --git
a/Lib/ftplib.py
b/Lib/ftplib.py
index 1688d9ab88c11cf18d0a6c4da53f02382d346954..3263281bc305e5a7dd162b62f106cc20ce6ad64b 100644
(file)
--- 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)