Save lineparser even if there is no data.

This commit is contained in:
Florian Bruhin 2014-10-14 21:23:46 +02:00
parent 7a1dfebc6a
commit 1c6578d409

View File

@ -94,9 +94,6 @@ class LineConfigParser(collections.UserList):
def save(self):
"""Save the config file."""
if not self.data:
log.destroy.debug("No data to save.")
return
limit = -1 if self._limit is None else config.get(*self._limit)
if limit == 0:
return