Skip to content

Commit 007f6aa

Browse files
Daniel Machrh-atomic-bot
authored andcommitted
[conf] Fix ModuleConf to call super() correctly.
BaseConfig takes 'config' option which was omitted. Closes: rpm-software-management#1130 Approved by: m-blaha
1 parent e9ad59c commit 007f6aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dnf/conf/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,8 @@ class ModuleConf(BaseConfig):
611611
"""Option definitions for module INI file sections."""
612612

613613
def __init__(self, section=None, parser=None):
614-
super(ModuleConf, self).__init__(section, parser)
614+
config = None
615+
super(ModuleConf, self).__init__(config, section, parser)
615616
# module name, stream and installed version
616617
self.name = StringOption(section)
617618
self.stream = StringOption("")

0 commit comments

Comments
 (0)