[GRASS-SVN] r53813 - grass/branches/releasebranch_6_4/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 14 09:15:59 PST 2012


Author: martinl
Date: 2012-11-14 09:15:58 -0800 (Wed, 14 Nov 2012)
New Revision: 53813

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


Modified: grass/branches/releasebranch_6_4/lib/python/task.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/task.py	2012-11-14 17:11:25 UTC (rev 53812)
+++ grass/branches/releasebranch_6_4/lib/python/task.py	2012-11-14 17:15:58 UTC (rev 53813)
@@ -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