summaryrefslogtreecommitdiff
path: root/pygnulib/GLModuleSystem.py
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-07-29 11:14:27 +0200
committerBruno Haible <bruno@clisp.org>2022-07-29 11:14:27 +0200
commit67e61c85b2190a7da0d1b2baf56a72f3b0ad1122 (patch)
treeb1f98f5d4214dfac2d5e986fe51ba9badf01618a /pygnulib/GLModuleSystem.py
parente501167fc92c30bdfe636100147859be5550a5cd (diff)
downloadgnulib-67e61c85b2190a7da0d1b2baf56a72f3b0ad1122.tar.gz
gnulib-tool.py: Fix warning from Python 3.10.4.
* pygnulib/GLModuleSystem.py (getConditionalName): Fix a string substitution expression.
Diffstat (limited to 'pygnulib/GLModuleSystem.py')
-rw-r--r--pygnulib/GLModuleSystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygnulib/GLModuleSystem.py b/pygnulib/GLModuleSystem.py
index 73c207d995..11ff4c7963 100644
--- a/pygnulib/GLModuleSystem.py
+++ b/pygnulib/GLModuleSystem.py
@@ -383,7 +383,7 @@ Include:|Link:|License:|Maintainer:)'
name = hashlib.md5(name).hexdigest()
conditional = '%s_GNULIB_ENABLED_%s' % (macro_prefix, name)
else: # if not nonascii
- result = '%s_GNULIB_ENABLED_%s' (macro_prefix, name)
+ result = '%s_GNULIB_ENABLED_%s' % (macro_prefix, name)
if type(result) is bytes:
result = result.decode(ENCS['default'])
return(result)