[GRASS-SVN] r49292 - grass/trunk/lib/python/temporal
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 18 14:37:24 EST 2011
Author: huhabla
Date: 2011-11-18 11:37:23 -0800 (Fri, 18 Nov 2011)
New Revision: 49292
Modified:
grass/trunk/lib/python/temporal/space_time_datasets_tools.py
Log:
Changed core.fata -> core.fatal, thanks to Markus Metz
Modified: grass/trunk/lib/python/temporal/space_time_datasets_tools.py
===================================================================
--- grass/trunk/lib/python/temporal/space_time_datasets_tools.py 2011-11-18 11:14:54 UTC (rev 49291)
+++ grass/trunk/lib/python/temporal/space_time_datasets_tools.py 2011-11-18 19:37:23 UTC (rev 49292)
@@ -50,16 +50,16 @@
end_time_in_file = False
if maps and file:
- core.fata(_("%s= and %s= are mutually exclusive") % ("input","file"))
+ core.fatal(_("%s= and %s= are mutually exclusive") % ("input","file"))
if end and increment:
- core.fata(_("%s= and %s= are mutually exclusive") % ("end","increment"))
+ core.fatal(_("%s= and %s= are mutually exclusive") % ("end","increment"))
if end and not start:
- core.fata(_("Please specify %s= and %s=") % ("start_time","end_time"))
+ core.fatal(_("Please specify %s= and %s=") % ("start_time","end_time"))
if not maps and not file:
- core.fata(_("Please specify %s= or %s=") % ("input","file"))
+ core.fatal(_("Please specify %s= or %s=") % ("input","file"))
if start and start == "file":
start_time_in_file = True
@@ -209,7 +209,7 @@
"""
if maps and file:
- core.fata(_("%s= and %s= are mutually exclusive") % ("input","file"))
+ core.fatal(_("%s= and %s= are mutually exclusive") % ("input","file"))
mapset = core.gisenv()["MAPSET"]
@@ -326,16 +326,16 @@
splist = {}
if maps and file:
- core.fata(_("%s= and %s= are mutually exclusive") % ("input","file"))
+ core.fatal(_("%s= and %s= are mutually exclusive") % ("input","file"))
if end and increment:
- core.fata(_("%s= and %s= are mutually exclusive") % ("end","increment"))
+ core.fatal(_("%s= and %s= are mutually exclusive") % ("end","increment"))
if end and not start:
- core.fata(_("Please specify %s= and %s=") % ("start_time","end_time"))
+ core.fatal(_("Please specify %s= and %s=") % ("start_time","end_time"))
if not maps and not file:
- core.fata(_("Please specify %s= or %s=") % ("input","file"))
+ core.fatal(_("Please specify %s= or %s=") % ("input","file"))
if start and start == "file":
start_time_in_file = True
More information about the grass-commit
mailing list