[GRASS-SVN] r65383 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 6 05:37:26 PDT 2015


Author: martinl
Date: 2015-06-06 05:37:26 -0700 (Sat, 06 Jun 2015)
New Revision: 65383

Modified:
   grass/trunk/gui/wxpython/gui_core/dialogs.py
Log:
fix variable typo (r65382)


Modified: grass/trunk/gui/wxpython/gui_core/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/dialogs.py	2015-06-06 09:55:21 UTC (rev 65382)
+++ grass/trunk/gui/wxpython/gui_core/dialogs.py	2015-06-06 12:37:26 UTC (rev 65383)
@@ -1661,11 +1661,11 @@
             self.options[name] = wx.CheckBox(parent = self.panel, id = wx.ID_ANY,
                                              label = desc)
         
-        for f in task.get_options()['params']:
-            name = f.get('name', '')
-            desc = f.get('label', '')
+        for p in task.get_options()['params']:
+            name = p.get('name', '')
+            desc = p.get('label', '')
             if not desc:
-                desc = f.get('description', '')
+                desc = p.get('description', '')
             if not name and not desc:
                 continue
             if cmd == 'v.in.ogr' and name == 'encoding':



More information about the grass-commit mailing list