@@ -127,7 +127,7 @@ def update_baseconf(self, baseconf):
127
127
128
128
class CommandsConfig (dnf .conf .BaseConfig ):
129
129
def __init__ (self , section = 'commands' , parser = None ):
130
- super (CommandsConfig , self ).__init__ (section , parser )
130
+ super (CommandsConfig , self ).__init__ (section = section , parser = parser )
131
131
self ._add_option ('apply_updates' , dnf .conf .BoolOption (False ))
132
132
self ._add_option ('base_config_file' , dnf .conf .Option ('/etc/dnf/dnf.conf' ))
133
133
self ._add_option ('download_updates' , dnf .conf .BoolOption (False ))
@@ -142,7 +142,7 @@ def imply(self):
142
142
143
143
class EmailConfig (dnf .conf .BaseConfig ):
144
144
def __init__ (self , section = 'email' , parser = None ):
145
- super (EmailConfig , self ).__init__ (section , parser )
145
+ super (EmailConfig , self ).__init__ (section = section , parser = parser )
146
146
self ._add_option ('email_to' , dnf .conf .ListOption (["root" ]))
147
147
self ._add_option ('email_from' , dnf .conf .Option ("root" ))
148
148
self ._add_option ('email_host' , dnf .conf .Option ("localhost" ))
@@ -154,7 +154,7 @@ class CommandConfig(dnf.conf.BaseConfig):
154
154
_default_stdin_format = "{body}"
155
155
156
156
def __init__ (self , section = 'command' , parser = None ):
157
- super (CommandConfig , self ).__init__ (section , parser )
157
+ super (CommandConfig , self ).__init__ (section = section , parser = parser )
158
158
self ._add_option ('command_format' ,
159
159
dnf .conf .Option (self ._default_command_format ))
160
160
self ._add_option ('stdin_format' ,
@@ -165,14 +165,14 @@ class CommandEmailConfig(CommandConfig):
165
165
_default_command_format = "mail -s {subject} -r {email_from} {email_to}"
166
166
167
167
def __init__ (self , section = 'command_email' , parser = None ):
168
- super (CommandEmailConfig , self ).__init__ (section , parser )
168
+ super (CommandEmailConfig , self ).__init__ (section = section , parser = parser )
169
169
self ._add_option ('email_to' , dnf .conf .ListOption (["root" ]))
170
170
self ._add_option ('email_from' , dnf .conf .Option ("root" ))
171
171
172
172
173
173
class EmittersConfig (dnf .conf .BaseConfig ):
174
174
def __init__ (self , section = 'emiter' , parser = None ):
175
- super (EmittersConfig , self ).__init__ (section , parser )
175
+ super (EmittersConfig , self ).__init__ (section = section , parser = parser )
176
176
self ._add_option ('emit_via' , dnf .conf .ListOption (['email' , 'stdio' ]))
177
177
self ._add_option ('output_width' , dnf .conf .IntOption (80 ))
178
178
self ._add_option ('system_name' , dnf .conf .Option (socket .gethostname ()))
0 commit comments