- more fixes
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 16 Apr 2001 00:24:45 +0000 (00:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    emirror-python2.0.patch -> 1.2

emirror-python2.0.patch

index db5c6063579510e2e7d1d1d912e3909b5854422e..37adc2446ebb053de99f083c46a821e81d708f0f 100644 (file)
  fi
  
  dnl Check for ftplib
+diff -ur emirror-2.1.17.orig/ftplibbeta.py emirror-2.1.17/ftplibbeta.py
+--- emirror-2.1.17.orig/ftplibbeta.py  Tue Aug 15 10:43:32 2000
++++ emirror-2.1.17/ftplibbeta.py       Mon Apr 16 02:16:18 2001
+@@ -114,7 +114,7 @@
+               if port: self.port = port
+               self.passiveserver = 0
+               self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+-              self.sock.connect(self.host, self.port)
++              self.sock.connect((self.host, self.port))
+               self.file = self.sock.makefile('rb')
+               self.welcome = self.getresp()
+               return self.welcome
+@@ -264,7 +264,7 @@
+               if self.passiveserver:
+                       host, port = parse227(self.sendcmd('PASV'))
+                       conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+-                      conn.connect(host, port)
++                      conn.connect((host, port))
+                       if (rest != None):
+                               self.sendcmd("REST %.0f" % rest)
+                       resp = self.sendcmd(cmd)
This page took 0.029221 seconds and 4 git commands to generate.