[GRASS-SVN] r56880 - grass/trunk/scripts/g.manual
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 22 12:51:36 PDT 2013
Author: wenzeslaus
Date: 2013-06-22 12:51:35 -0700 (Sat, 22 Jun 2013)
New Revision: 56880
Modified:
grass/trunk/scripts/g.manual/g.manual.py
Log:
g.manual: no test for browser, only catching error if start was not successful (#2008)
Modified: grass/trunk/scripts/g.manual/g.manual.py
===================================================================
--- grass/trunk/scripts/g.manual/g.manual.py 2013-06-22 14:28:16 UTC (rev 56879)
+++ grass/trunk/scripts/g.manual/g.manual.py 2013-06-22 19:51:35 UTC (rev 56880)
@@ -46,9 +46,6 @@
from grass.script import core as grass
def start_browser(entry):
- if browser != 'xdg-open' and not grass.find_program(browser):
- grass.fatal(_("Browser '%s' not found") % browser)
-
path = os.path.join(gisbase, 'docs', 'html', entry + '.html')
if not os.path.exists(path) and os.getenv('GRASS_ADDON_BASE'):
path = os.path.join(os.getenv('GRASS_ADDON_BASE'), 'docs', 'html', entry + '.html')
More information about the grass-commit
mailing list