Mercurial > gnulib
changeset 39128:d3904b5d6bfd
generator: swap mkedits yield and delete actions
author | Dmitry Selyutin <ghostmansd@gmail.com> |
---|---|
date | Wed, 04 Jul 2018 10:54:18 +0300 |
parents | 0b61ec42194b |
children | 4893ef60114f |
files | pygnulib/generator.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pygnulib/generator.py Wed Jul 04 10:19:24 2018 +0300 +++ b/pygnulib/generator.py Wed Jul 04 10:54:18 2018 +0300 @@ -625,8 +625,8 @@ for (directory, key, value) in mkedits: if key and _os.path.join(directory, "Makefile.am") == path: + yield f"{key} += {value}" del (directory, key, value) - yield f"{key} += {value}" cppflags = "".join(( " -D{}=1".format(config.witness_c_macro) if "witness_c_macro" in explicit else "",