[GRASS-SVN] r49922 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 26 12:28:02 EST 2011
Author: martinl
Date: 2011-12-26 09:28:02 -0800 (Mon, 26 Dec 2011)
New Revision: 49922
Modified:
grass/trunk/gui/wxpython/core/globalvar.py
Log:
wxGUI: fix syntax typos from r49921
Modified: grass/trunk/gui/wxpython/core/globalvar.py
===================================================================
--- grass/trunk/gui/wxpython/core/globalvar.py 2011-12-26 16:03:20 UTC (rev 49921)
+++ grass/trunk/gui/wxpython/core/globalvar.py 2011-12-26 17:28:02 UTC (rev 49922)
@@ -145,10 +145,8 @@
# scan addons (base)
addons_base = os.getenv('GRASS_ADDON_BASE')
- if addons_base:
- if not os.path.exists(addons_base) or not os.path.isdir(addons_base):
- continue
-
+ if addons_base and os.path.exists(addons_base) \
+ and not os.path.isdir(addons_base):
bpath = os.path.join(addons_base, 'bin')
if not scriptsOnly and os.path.exists(bpath) and \
os.path.isdir(bpath):
More information about the grass-commit
mailing list