[GRASS-SVN] r65476 - grass-addons/grass7/general/g.rename.many
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 15 08:30:08 PDT 2015
Author: lucadelu
Date: 2015-06-15 08:30:08 -0700 (Mon, 15 Jun 2015)
New Revision: 65476
Modified:
grass-addons/grass7/general/g.rename.many/g.rename.many.py
Log:
fixed wrong bracket position
Modified: grass-addons/grass7/general/g.rename.many/g.rename.many.py
===================================================================
--- grass-addons/grass7/general/g.rename.many/g.rename.many.py 2015-06-15 02:55:26 UTC (rev 65475)
+++ grass-addons/grass7/general/g.rename.many/g.rename.many.py 2015-06-15 15:30:08 UTC (rev 65476)
@@ -160,14 +160,14 @@
" in the current Mapset."
" Nothing renamed. Note that maps in other Mapsets cannot"
" be renamed, however they can be copied.")
- .format(name=names[0]), type=map_type)
+ .format(name=names[0], type=map_type))
if not gcore.overwrite() and map_exists(names[1], type=map_type):
gcore.fatal(_(
"Map <{name}> (type <{type}>) already exists."
" Nothing renamed."
" Use overwrite flag if you want to overwrite"
" the existing maps.")
- .format(name=names[0]), type=map_type)
+ .format(name=names[0], type=map_type))
def rename_from_file(filename, map_type, sep, safe_input):
More information about the grass-commit
mailing list