added method getitem() to the SessionMetaData class

This commit is contained in:
Rod A Santiago 2016-08-12 16:53:01 -07:00
parent 36c82d1960
commit ad0b45c8f3

View file

@ -1244,6 +1244,12 @@ class SessionMetaData(ConfigurableManager):
def additem(self, key, value):
self.configs[key] = value
def getitem(self, key):
try:
return self.configs[key]
except KeyError:
pass
return None
def items(self):
return self.configs.iteritems()