]>
Commit | Line | Data |
---|---|---|
5c63557e JR |
1 | --- emirror-2.1.17/configure.in~ Tue Aug 15 14:19:54 2000 |
2 | +++ emirror-2.1.17/configure.in Fri Apr 13 04:04:40 2001 | |
3 | @@ -34,7 +34,7 @@ | |
4 | then | |
5 | echo failed. Get a more recent version from www.python.org ! | |
6 | exit 1 | |
7 | -else | |
8 | +elif test $PYTHONMAJOR -lt 2 ; then | |
9 | if test $PYTHONMINOR -lt 5 | |
10 | then | |
11 | echo failed. Get a more recent version from www.python.org ! | |
12 | @@ -42,6 +42,8 @@ | |
13 | else | |
14 | echo ok | |
15 | fi | |
16 | +else | |
17 | + echo ok | |
18 | fi | |
19 | ||
20 | dnl Check for ftplib | |
131c105b JR |
21 | diff -ur emirror-2.1.17.orig/ftplibbeta.py emirror-2.1.17/ftplibbeta.py |
22 | --- emirror-2.1.17.orig/ftplibbeta.py Tue Aug 15 10:43:32 2000 | |
23 | +++ emirror-2.1.17/ftplibbeta.py Mon Apr 16 02:16:18 2001 | |
24 | @@ -114,7 +114,7 @@ | |
25 | if port: self.port = port | |
26 | self.passiveserver = 0 | |
27 | self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
28 | - self.sock.connect(self.host, self.port) | |
29 | + self.sock.connect((self.host, self.port)) | |
30 | self.file = self.sock.makefile('rb') | |
31 | self.welcome = self.getresp() | |
32 | return self.welcome | |
33 | @@ -264,7 +264,7 @@ | |
34 | if self.passiveserver: | |
35 | host, port = parse227(self.sendcmd('PASV')) | |
36 | conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
37 | - conn.connect(host, port) | |
38 | + conn.connect((host, port)) | |
39 | if (rest != None): | |
40 | self.sendcmd("REST %.0f" % rest) | |
41 | resp = self.sendcmd(cmd) |