[GRASS-SVN] r41760 - grass/branches/develbranch_6/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 8 15:56:00 EDT 2010
Author: neteler
Date: 2010-04-08 15:56:00 -0400 (Thu, 08 Apr 2010)
New Revision: 41760
Modified:
grass/branches/develbranch_6/lib/python/core.py
Log:
fwd-port docs
Modified: grass/branches/develbranch_6/lib/python/core.py
===================================================================
--- grass/branches/develbranch_6/lib/python/core.py 2010-04-08 19:48:03 UTC (rev 41759)
+++ grass/branches/develbranch_6/lib/python/core.py 2010-04-08 19:56:00 UTC (rev 41760)
@@ -273,28 +273,36 @@
@param msg message to be displayed
@param flag flags (given as string)
+
+ @return g.message's exit code
"""
run_command("g.message", flags = flag, message = msg)
def debug(msg, debug = 1):
"""!Display a debugging message using g.message -d
- @param msg message to be displayed
+ @param msg debugging message to be displayed
@param debug debug level (0-5)
+
+ @return g.message's exit code
"""
run_command("g.message", flags = 'd', message = msg, debug = debug)
def verbose(msg):
"""!Display a verbose message using g.message -v
- @param msg message to be displayed
+ @param msg verbose message to be displayed
+
+ @return g.message's exit code
"""
message(msg, flag = 'v')
def info(msg):
"""!Display an informational message using g.message -i
- @param msg message to be displayed
+ @param msg informational message to be displayed
+
+ @return g.message's exit code
"""
message(msg, flag = 'i')
@@ -302,6 +310,8 @@
"""!Display a warning message using g.message -w
@param msg warning message to be displayed
+
+ @return g.message's exit code
"""
message(msg, flag = 'w')
@@ -309,6 +319,8 @@
"""!Display an error message using g.message -e
@param msg error message to be displayed
+
+ @return g.message's exit code
"""
message(msg, flag = 'e')
More information about the grass-commit
mailing list