Package: reportbug
Version: 3.21
Followup-For: Bug #370748

a) Mixing tabs and spaces gives compiler errors
   Local solution : I used vim with 'set ts=4', 'set sts=4', 'set expandtab'
  and then ':%retab' to remove all tabs and convert them to 4 spaces.

b) Syntax error on line 371

Setting up reportbug (3.21) ...
Compiling /usr/share/reportbug/reportbug_submit.py ...
  File "/usr/share/reportbug/reportbug_submit.py", line 371
    if smtplib.SMTPResponseException.smtp_code == '535'
                                                       ^
SyntaxError: invalid syntax

Local correction : added colon after if statement
                # If wrong password, try again...
                if smtplib.SMTPResponseException.smtp_code == '535':
                    ewrite('SMTP error: authentication failed.  Try again.')
                    continue


-- Package-specific info:
** /root/.reportbugrc:
reportbug_version "3.21"
mode standard
ui text
realname "Jurgen Defurne"
email "[EMAIL PROTECTED]"
no-check-uid

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

Versions of packages reportbug depends on:
ii  python2.3                     2.3.5-9.1  An interactive high-level object-o

Versions of packages reportbug recommends:
pn  python2.3-cjkcodecs | python2 <none>     (no description available)

-- no debconf information


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

Reply via email to