Skip to content

Commit 26b6211

Browse files
committed
ogrmerge: fix error messages
Fixes #14013
1 parent f06c0a8 commit 26b6211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swig/python/gdal-utils/osgeo_utils/ogrmerge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ def are_sources_gpkg():
961961
if not update and not overwrite_ds:
962962
print(
963963
"ERROR: Destination dataset already exists, "
964-
+ "but -update nor -overwrite_ds are specified",
964+
+ "but neither -update nor -overwrite_ds are specified",
965965
file=sys.stderr,
966966
)
967967
return 1
@@ -990,7 +990,7 @@ def are_sources_gpkg():
990990
if gdal.VSIStatL(dst_filename) and not overwrite_ds:
991991
print(
992992
"ERROR: Destination dataset already exists, "
993-
+ "but -overwrite_ds are specified",
993+
+ "but -overwrite_ds is not specified",
994994
file=sys.stderr,
995995
)
996996
return 1

0 commit comments

Comments
 (0)