1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-25 07:32:29 +01:00

Fix bug in configmanager, due to pylint-related edits

This commit is contained in:
David Paleino
2012-11-18 00:15:04 +01:00
parent cb17bbec1e
commit 54ef2e642b

View File

@@ -221,7 +221,7 @@ class ConfigManager(RawConfigParser):
p.remove_option(name, '_filename_')
return p
def write(self, fp):
def write(self, fp=None):
""" Writes the loaded config file to disk. """
in_this_file = []
for sname in sorted(self.sections()):