mirror of
https://github.com/gryf/wicd.git
synced 2026-01-09 07:14:13 +01:00
Fix bug in configmanager, due to pylint-related edits
This commit is contained in:
@@ -221,7 +221,7 @@ class ConfigManager(RawConfigParser):
|
|||||||
p.remove_option(name, '_filename_')
|
p.remove_option(name, '_filename_')
|
||||||
return p
|
return p
|
||||||
|
|
||||||
def write(self, fp):
|
def write(self, fp=None):
|
||||||
""" Writes the loaded config file to disk. """
|
""" Writes the loaded config file to disk. """
|
||||||
in_this_file = []
|
in_this_file = []
|
||||||
for sname in sorted(self.sections()):
|
for sname in sorted(self.sections()):
|
||||||
|
|||||||
Reference in New Issue
Block a user