![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
28 Sep
2008
28 Sep
'08
12:08 a.m.
Author: benjamin.peterson Date: Sun Sep 28 00:08:12 2008 New Revision: 66657 Log: backport r66656 so people using -Qnew aren't affected Modified: python/trunk/Lib/ftplib.py Modified: python/trunk/Lib/ftplib.py ============================================================================== --- python/trunk/Lib/ftplib.py (original) +++ python/trunk/Lib/ftplib.py Sun Sep 28 00:08:12 2008 @@ -252,7 +252,7 @@ port number. ''' hbytes = host.split('.') - pbytes = [repr(port/256), repr(port%256)] + pbytes = [repr(port//256), repr(port%256)] bytes = hbytes + pbytes cmd = 'PORT ' + ','.join(bytes) return self.voidcmd(cmd)
5760
Age (days ago)
5760
Last active (days ago)
0 comments
1 participants
participants (1)
-
benjamin.peterson