[Reportbug-commits] [reportbug] 18/27: in search_path_for, split PATH directories using ':'; patch by Kamaraju Kusumanchi; Closes: #827088
Sandro Tosi
morph at moszumanska.debian.org
Mon May 29 20:14:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 3877ff8865c291f1c4c0939dc2372e58a7657158
Author: Sandro Tosi <morph at debian.org>
Date: Mon May 29 14:24:16 2017 -0400
in search_path_for, split PATH directories using ':'; patch by Kamaraju Kusumanchi; Closes: #827088
---
debian/changelog | 4 +++-
reportbug/utils.py | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 53e0487..820ca35 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ reportbug (7.1.7) UNRELEASED; urgency=medium
Nis Martensen; Closes: #861153
- update suites names: fade out squeeze (wheezy is now oldoldstable) and
introduce buster (testing), bullseye (next-testing); Closes: #862801
+ - in search_path_for, split PATH directories using ':'; patch by Kamaraju
+ Kusumanchi; Closes: #827088
* reportbug/debbugs.py
- add manpages.debian.org to pseudo-packages list; Closes: #861859
* debian/control
@@ -31,7 +33,7 @@ reportbug (7.1.7) UNRELEASED; urgency=medium
- fix error formatting when printing the error for draft directory
non-existing; patch by Gaetano Guerriero; Closes: #816375
- -- Sandro Tosi <morph at debian.org> Mon, 29 May 2017 14:14:27 -0400
+ -- Sandro Tosi <morph at debian.org> Mon, 29 May 2017 14:23:18 -0400
reportbug (7.1.6) unstable; urgency=medium
diff --git a/reportbug/utils.py b/reportbug/utils.py
index f32ce43..3418740 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -130,7 +130,7 @@ def search_path_for(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 d not in path:
path.append(d)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git
More information about the Reportbug-commits
mailing list