Prevent g-t profile failure

This commit is contained in:
root 2008-08-28 13:56:16 +01:00
parent 4d4a9ca39d
commit 7ad31a0ee6

View File

@ -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])