From 3f2814eaf434f871c4c700d1ee680937979e6de7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 14 May 2024 11:20:15 +0200 Subject: [PATCH] gnulib-tool.py: Fix formatting of error message in last commit. * pygnulib/main.py (main_with_exception_handling): Use the usual formatting of error messages. --- ChangeLog | 6 ++++++ pygnulib/main.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 23fd42e6e0..53922970f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-05-14 Bruno Haible + + gnulib-tool.py: Fix formatting of error message in last commit. + * pygnulib/main.py (main_with_exception_handling): Use the usual + formatting of error messages. + 2024-05-13 Collin Funk gnulib-tool.py: Don't continue creating testdirs when destdir exists. diff --git a/pygnulib/main.py b/pygnulib/main.py index aeb78ad2c7..dc0b2f4366 100644 --- a/pygnulib/main.py +++ b/pygnulib/main.py @@ -1439,7 +1439,7 @@ def main_with_exception_handling() -> None: 'supported if the definition of AUTOMAKE_OPTIONS in ' 'Makefile.am contains \'subdir-objects\'.') elif errno == 22: - message = 'not overwriting destination directory: %s' % errinfo + message += 'not overwriting destination directory: %s' % errinfo message += '\n%s: *** Stop.\n' % APP['name'] sys.stderr.write(message) sys.exit(1) -- 2.39.5