Commits

Mathias Panzenböck  committed 511bea0

ignore empty lines

  • Participants
  • Parent commits 2e11366

Comments (0)

Files changed (1)

 					self._onwrite.append(value)
 				else:
 					sys.stderr.write('*** unknown setting: %r = %r\n' % (key, value))
-			elif line.startswith('#'):
-				# ignore comment
+			elif line.startswith('#') or line == "\n":
+				# ignore comments and empty lines
 				pass
 			elif line.startswith('-'):
 				entry.end()