comparison make-tile @ 1:d268ae31f94b

Add docstring.
author David Barts <n5jrn@me.com>
date Tue, 24 Aug 2021 18:01:12 -0700
parents c20b5314774f
children 94762476b171
comparison
equal deleted inserted replaced
0:c20b5314774f 1:d268ae31f94b
176 break 176 break
177 if printit: 177 if printit:
178 sys.stderr.write(line) 178 sys.stderr.write(line)
179 179
180 def waitfor(proc): 180 def waitfor(proc):
181 """
182 Wait for a GDAL command to finish.
183 """
181 global estat 184 global estat
182 command_name = os.path.basename(proc.args[0]) 185 command_name = os.path.basename(proc.args[0])
183 status = proc.wait() 186 status = proc.wait()
184 if status < 0: 187 if status < 0:
185 sys.stderr.write("{0}: {1} killed by signal {2}\n".format(MYNAME, command_name, -status)) 188 sys.stderr.write("{0}: {1} killed by signal {2}\n".format(MYNAME, command_name, -status))