Package: reportbug Version: 6.6.3 Severity: minor Dear Maintainer,
The search_path_for function in reportbug/utils.py is using '/' to tokenize different elements of the PATH environment variable. I think it should use ':' instead. Attached patch will fix it. Please commit it if you agree. thanks raju -- Package-specific info: ** Environment settings: INTERFACE="gtk2" ** /home/rajulocal/.reportbugrc: reportbug_version "6.4.4" mode novice ui gtk2 email "kamar...@gmail.com" no-cc header "X-Debbugs-CC: kamar...@gmail.com" smtphost reportbug.debian.org -- System Information: Debian Release: 8.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages reportbug depends on: ii apt 1.0.9.8.3 ii python 2.7.9-1 ii python-reportbug 6.6.3 pn python:any <none> reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail <none> pn debconf-utils <none> ii debsums 2.0.53 ii dlocate 1.02+nmu3 ii emacs24-bin-common 24.4+1-5 ii exim4 4.84.2-1 ii exim4-daemon-light [mail-transport-agent] 4.84.2-1 ii file 1:5.22+15-2+deb8u1 ii gnupg 1.4.18-7+deb8u1 ii python-gtk2 2.24.0-4 ii python-gtkspell 2.25.3-13 pn python-urwid <none> ii python-vte 1:0.28.2-5 ii xdg-utils 1.1.0~rc1+git20111210-7.4 Versions of packages python-reportbug depends on: ii apt 1.0.9.8.3 ii python-debian 0.1.27 ii python-debianbts 1.12 pn python:any <none> python-reportbug suggests no packages.
diff -urN reportbug-6.6.3.dist/reportbug/utils.py reportbug-6.6.3/reportbug/utils.py --- reportbug-6.6.3.dist/reportbug/utils.py 2015-01-04 05:41:45.000000000 -0500 +++ reportbug-6.6.3/reportbug/utils.py 2016-06-11 21:17:03.379080382 -0400 @@ -120,7 +120,7 @@ d, f = os.path.split(filename) if d: return realpath(filename) - path = os.environ.get("PATH", os.defpath).split('/') + path = os.environ.get("PATH", os.defpath).split(':') for d in pathdirs: if not d in path: path.append(d)
_______________________________________________ Reportbug-maint mailing list Reportbug-maint@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint