Prevent g-t profile failure
This commit is contained in:
parent
4d4a9ca39d
commit
7ad31a0ee6
|
@ -335,7 +335,7 @@ class TerminatorConfValuestoreGConf (TerminatorConfValuestore):
|
||||||
|
|
||||||
def __getitem__ (self, key = ""):
|
def __getitem__ (self, key = ""):
|
||||||
if self.inactive:
|
if self.inactive:
|
||||||
return None
|
raise KeyError
|
||||||
|
|
||||||
if self.cache.has_key (key):
|
if self.cache.has_key (key):
|
||||||
dbg (" VSGConf: returning cached value: %s"%self.cache[key])
|
dbg (" VSGConf: returning cached value: %s"%self.cache[key])
|
||||||
|
|
Loading…
Reference in New Issue