Package: reportbug
Version: 3.99.0
Severity: normal

ewrite is only used once in that file. querybts is commonly using print, so you 
could use print instead.
I'm attaching a patch.


-- Package-specific info:
** Environment settings:
EDITOR="jmacs"
VISUAL="jmacs"
EMAIL="[EMAIL PROTECTED]"
NAME="Luca Bruno"

** /home/lethal/.reportbugrc:
reportbug_version "3.42"
mode standard
ui gnome2

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.14+b1  Advanced front-end for dpkg
ii  python                        2.5.2-2    An interactive high-level object-o
ii  python-reportbug              3.99.0     Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                 1.5.22     debconf utilities
pn  debsums                       <none>     (no description available)
pn  dlocate                       <none>     (no description available)
ii  esmtp-run [mail-transport-age 0.6.0-1    User configurable relay-only MTA
ii  file                          4.25-1     Determines file type using "magic"
ii  gnupg                         1.4.9-3    GNU privacy guard - a free PGP rep
ii  python-urwid                  0.9.8.3-1  curses-based UI/widget library for

-- no debconf information
>From b8ada85b090537739f48bd7065ee9f972310a97c Mon Sep 17 00:00:00 2001
From: Luca Bruno <[EMAIL PROTECTED]>
Date: Mon, 1 Sep 2008 02:00:39 +0200
Subject: [PATCH] Fix ewrite in querybts

---
 bin/querybts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/querybts b/bin/querybts
index e261e7d..4768abd 100755
--- a/bin/querybts
+++ b/bin/querybts
@@ -178,7 +178,7 @@ def main():
             ui.long_message('*** Unable to import %s interface: %s '
                             'Falling back to %s interface.\n',
                             interface, msg, ui_mode)
-            ewrite('\n')
+            print
 
     reportre = re.compile(r'^#?(\d+)$')
     try:
-- 
1.5.6.3

Reply via email to