Skip to content

Commit

Permalink
ConfigParser.substitute
Browse files Browse the repository at this point in the history
Prevent " AttributeError: module 'libdnf.conf' has no attribute 'ConfigParser_substitute'"
  • Loading branch information
freddyw authored and jan-kolarik committed May 3, 2023
1 parent 14d51c3 commit 8790cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/post-transaction-actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _replace_vars(self, ts_item, command):
"repoid": ts_item.from_repo,
"state": action}

result = libdnf.conf.ConfigParser_substitute(command, vardict)
result = libdnf.conf.ConfigParser.substitute(command, vardict)
return result

def transaction(self):
Expand Down

0 comments on commit 8790cb3

Please sign in to comment.