Hey Nis! was having a look at this patch and

@@ -560,7 +563,10 @@ def get_source_package(package):
             packages += packlist

     for p in packages:
-        desc = available_package_description(p)
+        try:
+            desc = apt_cache[p].versions[0].summary
+        except KeyError:
+            continue
         if desc and (p not in found):
             retlist += [(p, desc)]
             found[p] = desc

should we replace `continue` with `desc = available_package_description(p)`
? this way will prefer using apt, but if for some reason it fails, then we
use the old method (which is still there)

what do you think?
On Mon, Dec 4, 2017 at 8:21 AM Nis Martensen <nis.marten...@web.de> wrote:

> control: tags -1 patch

> This also fixes #876373

> Other related bugs: #502860, #599290, #882130
> _______________________________________________
> Reportbug-maint mailing list
> reportbug-ma...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint



-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

Reply via email to