Parcourir la source

g.gui.vdigit: be less verbose when creating a new map

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67503 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa il y a 9 ans
Parent
commit
b632308f1f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      gui/wxpython/vdigit/g.gui.vdigit.py

+ 2 - 2
gui/wxpython/vdigit/g.gui.vdigit.py

@@ -89,9 +89,9 @@ def main():
             grass.fatal(_("Vector map <%s> not found in current mapset. "
                           "New vector map can be created by providing '-c' flag.") % options['map'])
         else:
-            grass.message(_("New vector map <%s> created") % options['map'])
+            grass.verbose(_("New vector map <%s> created") % options['map'])
             try:
-                grass.run_command('v.edit', map=options['map'], tool='create')
+                grass.run_command('v.edit', map=options['map'], tool='create', quiet=True)
             except CalledModuleError:
                 grass.fatal(_("Unable to create new vector map <%s>") % options['map'])