Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nntp/hellanzb/files: hellanzb-0.13-fix_multiples_hosts.diff digest-hellanzb-0.13-r3 digest-hellanzb-0.13-r2
Date: Thu, 22 Nov 2007 23:38:58
Message-Id: E1IvLdF-0006yW-4m@stork.gentoo.org
1 aballier 07/11/22 23:38:53
2
3 Modified: hellanzb-0.13-fix_multiples_hosts.diff
4 Added: digest-hellanzb-0.13-r3
5 Removed: digest-hellanzb-0.13-r2
6 Log:
7 patch update to avoid a crash when the host in unreachable, thanks again to tonfa
8 (Portage version: 2.1.3.19)
9
10 Revision Changes Path
11 1.2 net-nntp/hellanzb/files/hellanzb-0.13-fix_multiples_hosts.diff
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/hellanzb/files/hellanzb-0.13-fix_multiples_hosts.diff?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/hellanzb/files/hellanzb-0.13-fix_multiples_hosts.diff?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/hellanzb/files/hellanzb-0.13-fix_multiples_hosts.diff?r1=1.1&r2=1.2
16
17 Index: hellanzb-0.13-fix_multiples_hosts.diff
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-nntp/hellanzb/files/hellanzb-0.13-fix_multiples_hosts.diff,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- hellanzb-0.13-fix_multiples_hosts.diff 20 Nov 2007 14:43:08 -0000 1.1
24 +++ hellanzb-0.13-fix_multiples_hosts.diff 22 Nov 2007 23:38:52 -0000 1.2
25 @@ -1,6 +1,6 @@
26 diff -r bdbcba80e0fa Hellanzb/NZBLeecher/Protocol.py
27 --- a/Hellanzb/NZBLeecher/Protocol.py Wed Nov 14 10:00:29 2007 +0100
28 -+++ b/Hellanzb/NZBLeecher/Protocol.py Wed Nov 14 10:01:07 2007 +0100
29 ++++ b/Hellanzb/NZBLeecher/Protocol.py Thu Nov 22 22:32:04 2007 +0100
30 @@ -27,18 +27,14 @@ PHI = 1.6180339887498948 # (1 + math.sqr
31 PHI = 1.6180339887498948 # (1 + math.sqrt(5)) / 2
32 class NZBLeecherFactory(ReconnectingClientFactory):
33 @@ -21,9 +21,35 @@
34
35 # statistics for the current session (sessions end when downloading stops on all
36 # clients). sessionReadBytes and sessionStartime are used to calculate the average
37 +@@ -88,6 +84,7 @@ class NZBLeecherFactory(ReconnectingClie
38 + p.factory = self
39 + p.id = self.clientIds[0]
40 + self.clientIds.remove(p.id)
41 ++ p.host, p.port = addr.host, addr.port
42 +
43 + # All clients inherit the factory's anti idle timeout setting
44 + # FIXME: I don't think there's any reason to copy these values to the
45 +@@ -323,7 +320,7 @@ class NZBLeecher(NNTPClient, TimeoutMixi
46 + "Override for notification when authInfoFailed() action fails"
47 + debug(str(self) + ' AUTHINFO failed: ' + str(err))
48 + # FIXME: This gives us too much scroll. Need to only do it selectively
49 +- #error(self.factory.hostname + '[' + str(self.id).zfill(2) + '] Authorization failed: ' + str(err))
50 ++ #error(self.host + '[' + str(self.id).zfill(2) + '] Authorization failed: ' + str(err))
51 + self.transport.loseConnection()
52 +
53 + def connectionMade(self):
54 +@@ -428,7 +425,7 @@ class NZBLeecher(NNTPClient, TimeoutMixi
55 + login """
56 + if self.username == None and self.password == None:
57 + warn('Could not MODE READER on no auth server (%s:%i), returned: %s' % \
58 +- (self.factory.host, self.factory.port, str(err)))
59 ++ (self.host, self.port, str(err)))
60 + reactor.callLater(0, self.fetchNextNZBSegment)
61 + elif not self.isLoggedIn:
62 + self.setReaderAfterLogin = True
63 diff -r bdbcba80e0fa Hellanzb/NZBLeecher/__init__.py
64 --- a/Hellanzb/NZBLeecher/__init__.py Wed Nov 14 10:00:29 2007 +0100
65 -+++ b/Hellanzb/NZBLeecher/__init__.py Wed Nov 14 10:01:07 2007 +0100
66 ++++ b/Hellanzb/NZBLeecher/__init__.py Thu Nov 22 22:32:04 2007 +0100
67 @@ -122,30 +122,28 @@ def connectServer(serverName, serverDict
68 connectionCount = 0
69 hosts = serverDict['hosts']
70
71
72
73 1.1 net-nntp/hellanzb/files/digest-hellanzb-0.13-r3
74
75 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/hellanzb/files/digest-hellanzb-0.13-r3?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/hellanzb/files/digest-hellanzb-0.13-r3?rev=1.1&content-type=text/plain
77
78 Index: digest-hellanzb-0.13-r3
79 ===================================================================
80 MD5 d3510c6b1b2c7b935332a469fdc8e7e2 hellanzb-0.13.tar.gz 163698
81 RMD160 2ec3069cd0c9cb6c9fdaa4a4edc4f311a86d944c hellanzb-0.13.tar.gz 163698
82 SHA256 565b08725eb92ac1e278fa7df2c7b27b21588c4e24c140fddbec4a5625159127 hellanzb-0.13.tar.gz 163698
83
84
85
86 --
87 gentoo-commits@g.o mailing list