Package: reportbug
Version: 3.34.2
Followup-For: Bug #418166

Instead of:
8<--------------------------------------------------
    if _defaults and name:
        try:
            value = config.get('DEFAULT', name)
        except NoOptionError:
            raise ValueError
        return value
--------------------------------------------------->8

use:
8<--------------------------------------------------
    if _defaults and name:
        try:
            config = _defaults
            value = config.get('DEFAULT', name)
        except NoOptionError:
            raise ValueError
        return value
--------------------------------------------------->8

Note that "config = _defaults" line to use the defaults.

Greets,
 Jeroen


-- Package-specific info:
** Environment settings:
EDITOR="vi"
INTERFACE="text"

** /home/jeroen/.reportbugrc:
reportbug_version "3.7.1"
mode expert
ui text
realname "Jeroen Massar"
email "[EMAIL PROTECTED]"

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages reportbug depends on:
ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
ii  python                      2.4.4-2      An interactive high-level object-o
ii  python-central              0.5.13       register and build utility for Pyt

reportbug recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to