Commit 2076b5b6 authored by Cresson Remi's avatar Cresson Remi
Browse files

REFAC: use f string

2 merge requests!39Release 3.2,!26TFRecord, to_tfrecords(), refac python modules, new CI
Pipeline #35405 passed with stages
in 85 minutes and 13 seconds
Showing with 1 addition and 1 deletion
+1 -1
...@@ -34,7 +34,7 @@ def gdal_open(filename): ...@@ -34,7 +34,7 @@ def gdal_open(filename):
""" """
gdal_ds = gdal.Open(filename) gdal_ds = gdal.Open(filename)
if not gdal_ds: if not gdal_ds:
raise Exception("Unable to open file {}".format(filename)) raise Exception(f"Unable to open file {filename}")
return gdal_ds return gdal_ds
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment