[GRASS-SVN] r53814 - grass/branches/develbranch_6/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 14 09:16:42 PST 2012


Author: martinl
Date: 2012-11-14 09:16:41 -0800 (Wed, 14 Nov 2012)
New Revision: 53814

Modified:
   grass/branches/develbranch_6/lib/python/task.py
Log:
pythonlib: fix for r53811


Modified: grass/branches/develbranch_6/lib/python/task.py
===================================================================
--- grass/branches/develbranch_6/lib/python/task.py	2012-11-14 17:15:58 UTC (rev 53813)
+++ grass/branches/develbranch_6/lib/python/task.py	2012-11-14 17:16:41 UTC (rev 53814)
@@ -73,10 +73,14 @@
         
     def define_first(self):
         """!Define first parameter
+
+        @return name of first parameter
         """
         if len(self.params) > 0:
             self.firstParam = self.params[0]['name']
         
+        return self.firstParam
+    
     def get_error_msg(self):
         """!Get error message ('' for no error)
         """



More information about the grass-commit mailing list