[GRASS-SVN] r35047 - grass/trunk/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 26 11:41:01 EST 2008
Author: martinl
Date: 2008-12-26 11:41:01 -0500 (Fri, 26 Dec 2008)
New Revision: 35047
Modified:
grass/trunk/lib/python/grass.py
Log:
grass.py: fix fatal()
Modified: grass/trunk/lib/python/grass.py
===================================================================
--- grass/trunk/lib/python/grass.py 2008-12-26 16:39:54 UTC (rev 35046)
+++ grass/trunk/lib/python/grass.py 2008-12-26 16:41:01 UTC (rev 35047)
@@ -19,11 +19,11 @@
shell = (sys.platform == "win32")
subprocess.Popen.__init__(self, args, bufsize, executable,
- stdin, stdout, stderr,
- preexec_fn, close_fds, shell,
- cwd, env, universal_newlines,
- startupinfo, creationflags)
-
+ stdin, stdout, stderr,
+ preexec_fn, close_fds, shell,
+ cwd, env, universal_newlines,
+ startupinfo, creationflags)
+
PIPE = subprocess.PIPE
STDOUT = subprocess.STDOUT
@@ -573,4 +573,4 @@
t = string.Template(exp)
e = t.substitute(**kwargs)
if run_command('r.mapcalc', expression = e) != 0:
- grass.fatal("An error occurred while running r.mapcalc")
+ fatal("An error occurred while running r.mapcalc")
More information about the grass-commit
mailing list