Package: reportbug
Version: 3.35
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Moin,

reportbug modifies sys.path to include os.curdir and
/usr/share/reportbug at the beginning of it. While the existence of the
latter is clear, I can see absolutely no reason why os.curdir should be
included in sys.path (except for development/debugging issues, about
which I personally don't care when using reportbug).

Especially when a user runs reportbug out of a directory (e.g. ~) which
contains some python files, which are - intentionally or accidently -
called like some module reportbug or any referenced module uses, it
causes the script in the current directory to be loaded instead. I had a
pickle.py lying around in my ~ - guess how long I was trying to isolate
the bug.

Sebastian

- -- Package-specific info:
** /home/yath/.reportbugrc:
submit
query-bts
cc
config-files
compress
sign gpg
email "[EMAIL PROTECTED]"
realname "Sebastian Schmidt"
editor "vim"
verify
mode standard

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGIo1uvBVic1oTsEgRAjbXAJ9sKnmzNSB5SLtWPbr0K4/is4YcKwCfcqZ8
CjHnOmzdoaGghvszINbmUuI=
=e7uf
-----END PGP SIGNATURE-----


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

Reply via email to