diff -u hellanzb-0.13/debian/changelog hellanzb-0.13/debian/changelog --- hellanzb-0.13/debian/changelog +++ hellanzb-0.13/debian/changelog @@ -1,3 +1,11 @@ +hellanzb (0.13-3ubuntu2) jaunty; urgency=low + + * It should record as the valid group the group it asked, not that + sent back from the server, added 004-Fix_group_recording patch + to fix this (LP: #233900). + + -- Alessio Treglia Mon, 15 Dec 2008 09:22:30 +0100 + hellanzb (0.13-3ubuntu1) intrepid; urgency=low * debian/control: diff -u hellanzb-0.13/debian/patches/00list hellanzb-0.13/debian/patches/00list --- hellanzb-0.13/debian/patches/00list +++ hellanzb-0.13/debian/patches/00list @@ -4,0 +5 @@ +004-Fix_group_recording only in patch2: unchanged: --- hellanzb-0.13.orig/debian/patches/004-Fix_group_recording +++ hellanzb-0.13/debian/patches/004-Fix_group_recording @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 004-Fix_group_recording.dpatch by Alessio Treglia +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The correct group isn't recorded. It should record as valid group +## DP: the group it asked. + +@DPATCH@ +diff -urNad hellanzb-0.13~/Hellanzb/NZBLeecher/Protocol.py hellanzb-0.13/Hellanzb/NZBLeecher/Protocol.py +--- hellanzb-0.13~/Hellanzb/NZBLeecher/Protocol.py 2007-03-27 06:20:43.000000000 +0200 ++++ hellanzb-0.13/Hellanzb/NZBLeecher/Protocol.py 2008-12-15 09:19:02.000000000 +0100 +@@ -655,7 +655,7 @@ + reactor.callInThread(decode, segment) + + def gotGroup(self, group): +- group = group[3] ++ group = self.gettingGroup + self.activeGroups.append(group) + self.gettingGroup = None + debug(str(self) + ' got GROUP: ' + group)