Set a default currvalue so line_ok works on configs starting with comments.

This commit is contained in:
Thomas Hurst 2008-08-28 15:12:05 +01:00
parent 7ad31a0ee6
commit 5c8b1e7435
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ class ConfigFile:
self._currsection = None
self._cursetting = None
self._currvalue = None
self.errors = []
for self._line in rc: