From e78d57beab4ab0362dffba9607b915aa5d9d7f68 Mon Sep 17 00:00:00 2001 From: Thomas Hurst Date: Mon, 22 Sep 2008 15:45:48 +0100 Subject: [PATCH] Undo error handling brain-damage --- terminatorlib/configfile.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/terminatorlib/configfile.py b/terminatorlib/configfile.py index 1437f1c2..81106787 100644 --- a/terminatorlib/configfile.py +++ b/terminatorlib/configfile.py @@ -143,11 +143,9 @@ class ConfigFile: if self._line[self._pos:] != '': raise ConfigSyntaxError(_("Unexpected token"), self) - + self._line_ok() except ConfigSyntaxError, e: self._line_error(e) - else: - self._line_ok() if self.errors: raise ParsedWithErrors(self.filename, self.errors)