From 7ad31a0ee6c29083e8fdb64fa040ad31ab5b13a7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 28 Aug 2008 13:56:16 +0100 Subject: [PATCH] Prevent g-t profile failure --- terminatorlib/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 8f656362..d6c98dbb 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -335,7 +335,7 @@ class TerminatorConfValuestoreGConf (TerminatorConfValuestore): def __getitem__ (self, key = ""): if self.inactive: - return None + raise KeyError if self.cache.has_key (key): dbg (" VSGConf: returning cached value: %s"%self.cache[key])