Make configfile sorted
This commit is contained in:
1 parent
a34aa9fa25
commit
fa1bd89f60
1 file changed
+1
-1
@@ -210,7 +210,7 @@ class ConfigManager(RawConfigParser):
|
||||
def write(self):
|
||||
""" Writes the loaded config file to disk. """
|
||||
in_this_file = []
|
||||
for sname in self.sections():
|
||||
for sname in sorted(self.sections()):
|
||||
fname = self.get_option(sname, '_filename_')
|
||||
if fname and fname != self.config_file:
|
||||
# Write sections from other files
|
||||
|
||||
Reference in new issue
Block a user