[Reportbug-maint] Bug#857013: reportbug: Attaching patch
Sandro Tosi
morph at debian.org
Wed Apr 19 01:07:13 UTC 2017
On Thu, Apr 13, 2017 at 4:52 AM, Michal Suchanek <hramrach at gmail.com> wrote:
> --- /usr/lib/python3/dist-packages/reportbug/utils.py 2017-04-13 10:49:24.126454516 +0200
> +++ /usr/lib/python3/dist-packages/reportbug/utils.py~ 2017-04-13 10:49:17.663966502 +0200
> @@ -369,9 +369,7 @@
> confmode = False
> else:
> # re is used to identify also conffiles with spaces in the name
> - tmp = re.findall(r' (.+) ([0-9a-f]+).*
> , line)
> - if len(tmp) > 0:
> - conffiles = conffiles + [tmp[0]]
> + conffiles = conffiles + [re.findall(r' (.+) ([0-9a-f]+).*, line)[0]]
>
> if versionre.match(line):
> (crud, pkgversion) = line.split(": ", 1)
is this in reverse order?
--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi
More information about the Reportbug-maint
mailing list