Browse Source

match 'Description-en' too when getting package description

suites/jessie-proposed-backports
Sandro Tosi 8 years ago
parent
commit
6b7d211090
  1. 3
      debian/changelog
  2. 2
      reportbug/utils.py

3
debian/changelog

@ -15,6 +15,7 @@ reportbug (6.4.5) UNRELEASED; urgency=low
- improve the template provided to less-expert reporters to be clear the
questions should be answered by the reporter themselves; thanks to Tony
Houghton for the report; Closes: #690782
- match 'Description-en' too when getting package description
* reportbug/checkversions.py
- if NEW has several versions of the given package, choose the bigger;
thanks to Thorsten Glaser for the report; Closes: #704040
@ -25,7 +26,7 @@ reportbug (6.4.5) UNRELEASED; urgency=low
* checkversions: let rmadison do the architecture/suite filtering
* debbugs: retire the opu tag for release.debian.org; Closes: #707631
-- Sandro Tosi <morph@debian.org> Sun, 26 Jan 2014 20:18:46 +0100
-- Sandro Tosi <morph@debian.org> Sun, 26 Jan 2014 20:28:59 +0100
reportbug (6.4.4) unstable; urgency=low

2
reportbug/utils.py

@ -498,7 +498,7 @@ def get_avail_database():
def available_package_description(package):
data = commands.getoutput('apt-cache show'+commands.mkarg(package))
data = data.decode('utf-8', 'replace')
descre = re.compile(r'^Description: (.*)$')
descre = re.compile(r'^Description(?:-en): (.*)$')
for line in data.split('\n'):
m = descre.match(line)
if m:

Loading…
Cancel
Save