* pygnulib/GLModuleSystem.py (getConditionalName): Fix a string
substitution expression.
2022-07-29 Bruno Haible <bruno@clisp.org>
+ gnulib-tool.py: Fix warning from Python 3.10.4.
+ * pygnulib/GLModuleSystem.py (getConditionalName): Fix a string
+ substitution expression.
+
gnulib-tool.py: Fix error in Ubuntu 22.04.
* gnulib-tool.py: Search for python3 in $PATH.
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)