Changes between Version 2 and Version 3 of Submitting/Python


Ignore:
Timestamp:
Jun 11, 2014, 8:35:54 PM (10 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)