Skip to content

Fix: Do not use readfp()#290

Open
pauliusm wants to merge 1 commit intoseveas:mainfrom
pauliusm:fix/do_not_use_readfp
Open

Fix: Do not use readfp()#290
pauliusm wants to merge 1 commit intoseveas:mainfrom
pauliusm:fix/do_not_use_readfp

Conversation

@pauliusm
Copy link

This fixes errors:

File ...hpilo_fw.py, line 32, in config
    parser.readfp(io.StringIO(conf))
    ^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

because ConfigParser's readfp() is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant