[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-181-g9f7c87d
Sandro Tosi
morph at debian.org
Sun Apr 24 23:44:29 UTC 2011
The following commit has been merged in the master branch:
commit 9f7c87d993e2541f18b104c0ef0ec1b1c019a937
Author: Sandro Tosi <morph at debian.org>
Date: Mon Apr 25 01:42:13 2011 +0200
make the 'xdg-open' existance check be silent also when sh=dash; thanks to RjY for the report and patch; Closes: #616523
diff --git a/debian/changelog b/debian/changelog
index 21a79e1..0904054 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,8 +16,11 @@ reportbug (5.1) UNRELEASED; urgency=low
- the followup information must be an integer: try to convert it or raise an
exception; prevents a crash when following-up to an existing report using
GTK+ UI; thanks to all the reporters; Closes: #619801
+ * reportbug/urlutils.py
+ - make the 'xdg-open' existance check be silent also when sh=dash; thanks to
+ RjY for the report and patch; Closes: #616523
- -- Sandro Tosi <morph at debian.org> Mon, 25 Apr 2011 01:17:51 +0200
+ -- Sandro Tosi <morph at debian.org> Mon, 25 Apr 2011 01:40:44 +0200
reportbug (5.0) unstable; urgency=low
diff --git a/reportbug/urlutils.py b/reportbug/urlutils.py
index c4ba5aa..054932d 100644
--- a/reportbug/urlutils.py
+++ b/reportbug/urlutils.py
@@ -163,7 +163,7 @@ def open_url(url, http_proxy=None, timeout=60):
return page
def launch_browser(url):
- if not os.system('command -v xdg-open &> /dev/null'):
+ if not os.system('command -v xdg-open >/dev/null 2>&1'):
cmd = 'xdg-open' + commands.mkarg(url)
os.system(cmd)
return
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list