From: Dmitry Selyutin Date: Wed, 4 Jul 2018 07:54:18 +0000 (+0300) Subject: generator: swap mkedits yield and delete actions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c6eab271e5934dd65e535bcc1bf2ceb1dd7c821;p=thirdparty%2Fgnulib.git generator: swap mkedits yield and delete actions --- diff --git a/pygnulib/generator.py b/pygnulib/generator.py index 0ed5e03a4b..1ccfa49d9a 100644 --- a/pygnulib/generator.py +++ b/pygnulib/generator.py @@ -625,8 +625,8 @@ def lib_makefile(path, config, explicit, database, mkedits, testing, autoconf, * for (directory, key, value) in mkedits: if key and _os.path.join(directory, "Makefile.am") == path: - del (directory, key, value) yield f"{key} += {value}" + del (directory, key, value) cppflags = "".join(( " -D{}=1".format(config.witness_c_macro) if "witness_c_macro" in explicit else "",