Surely these should not cause Terminator to throw exceptions, we should ignore useless data.

This commit is contained in:
Chris Jones 2008-06-18 23:40:56 +01:00
parent 57b0bb36f3
commit ebf128c1d8
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ class TerminatorConfValuestoreRC (TerminatorConfValuestore):
# Check if this is actually a key we care about
if not self.defaults.has_key (key):
raise AttributeError;
continue
deftype = self.defaults[key].__class__.__name__
if deftype == 'bool':
@ -183,7 +183,7 @@ class TerminatorConfValuestoreRC (TerminatorConfValuestore):
self.values[key] = float (value)
elif deftype == 'list':
err (_("Reading list values from .config/terminator/config is not currently supported"))
raise ValueError
continue
else:
self.values[key] = value