def getSubElement(self, key, data):
		separatorIndex = key.find(self.separator)
		partialKey = key[:separatorIndex]
		remainingKey = key[separatorIndex + 1:]
		if partialKey in data:
			return self.get(remainingKey, data[partialKey])
		else:
			return (None, 'not_found')
dataset/ETHPy150Open drewkerrigan/nagios-http-json/check_http_json.py/JsonHelper.getSubElement/original