def push_data(self, item, key, data):
        if self.postprocessor is not None:
            result = self.postprocessor(self.path, key, data)
            if result is None:
                return item
            key, data = result
        if item is None:
            item = self.dict_constructor()
        try:
            value = item[key]
            if isinstance(value, list):
                value.append(data)
            else:
                item[key] = [value, data]
        except __HOLE__:
            item[key] = data
        return item
dataset/ETHPy150Open AppScale/appscale/lib/xmltodict.py/_DictSAXHandler.push_data