Changes between Version 2 and Version 3 of Submitting/Python


Ignore:
Timestamp:
06/11/14 20:35:54 (11 years ago)
Author:
annakrat
Comment:

formatting

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/Python

    v2 v3  
    129129#!python
    130130# test for input raster map
    131 result = grass.find_file(name = map_name, element = 'cell', quiet = True)
     131result = grass.find_file(name=map_name, element='cell', quiet=True)
    132132if not result['file']
    133133  grass.fatal("Raster map <%s> not found" % map_name)
    134134
    135135# test for input vector map
    136 result = grass.find_file(name = map_name, element = 'vector', quiet = True)
     136result = grass.find_file(name=map_name, element='vector', quiet=True)
    137137if not result['file']
    138138  grass.fatal("Vector map <%s> not found" % map_name)