[GRASS-SVN] r55361 - grass/trunk/lib/python/pygrass/modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 13 07:40:22 PDT 2013
Author: zarch
Date: 2013-03-13 07:40:22 -0700 (Wed, 13 Mar 2013)
New Revision: 55361
Modified:
grass/trunk/lib/python/pygrass/modules/__init__.py
Log:
Fix the flags managements
Modified: grass/trunk/lib/python/pygrass/modules/__init__.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/__init__.py 2013-03-13 14:01:06 UTC (rev 55360)
+++ grass/trunk/lib/python/pygrass/modules/__init__.py 2013-03-13 14:40:22 UTC (rev 55361)
@@ -470,7 +470,8 @@
# check for extra kargs, set attribute and remove from dictionary
#
if 'flags' in kargs:
- self.flags = kargs['flags']
+ for flg in kargs['flags']:
+ self.flags[flg].value = True
del(kargs['flags'])
if 'run_' in kargs:
self.run_ = kargs['run_']
More information about the grass-commit
mailing list