You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/pegasus/.pyenv/versions/jinja2-3.12/bin/jinja2", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/pegasus/Projects/jinja2cli/jinja2cli/cli.py", line 476, in main
sys.exit(cli(opts, args))
^^^^^^^^^^^^^^^
File "/home/pegasus/Projects/jinja2cli/jinja2cli/cli.py", line 330, in cli
data = fn(data) or {}
^^^^^^^^
File "/home/pegasus/Projects/jinja2cli/jinja2cli/cli.py", line 134, in _parse_ini
p.readfp(StringIO(data))
^^^^^^^^
AttributeError: 'MyConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
Error:
Reproduction steps:
ini
data file and a template:data.ini
file:template.j2
file:According to Python 3.12 documentation,
ConfigParser.read_file
replacedConfiggParser.readfp()
, andConfigParser.readfp()
is no longer recognized.The text was updated successfully, but these errors were encountered: