Hello. I've attached a version of the patch that is updated for
reportbug 3.99.0.
--- a/bin/reportbug 2008-10-23 13:42:53.000000000 +0000
+++ b/bin/reportbug 2008-11-09 22:55:40.000000000 +0000
@@ -1449,14 +1449,14 @@
if conffiles and not self.options.kudos:
ewrite("Getting changed configuration files...\n")
confinfo, changed = utils.get_changed_config_files(
- conffiles, nocompress)
+ conffiles, self.options.nocompress)
if self.options.noconf and changed:
for f in changed:
confinfo[f] = 'changed [not included]'
elif changed and not notatty:
while 1:
- x = ui.select_self.options(
+ x = ui.select_options(
"*** WARNING: The following configuration files have been "
"modified:\n"+ "\n".join(changed)+
"\nSend modified configuration files", 'Ynd',
--- a/reportbug/utils.py 2008-09-16 20:09:49.000000000 +0000
+++ b/reportbug/utils.py 2008-11-09 22:57:40.000000000 +0000
@@ -261,7 +261,7 @@
dependsre = re.compile('(Pre-)?Depends: ')
recsre = re.compile('Recommends: ')
suggestsre = re.compile('Suggests: ')
- conffilesre = re.compile('Conffiles: ')
+ conffilesre = re.compile('Conffiles:')
maintre = re.compile('Maintainer: ')
statusre = re.compile('Status: ')
originre = re.compile('Origin: ')
@@ -301,10 +301,10 @@
if not line: continue
if confmode:
- if line[0] != '/':
+ if line[:2] != ' /':
confmode = False
else:
- conffiles = conffiles + (line.split(),)
+ conffiles = conffiles + [tuple(line.split())]
if versionre.match(line):
(crud, pkgversion) = line.split(": ", 1)