def __getitem__(self, k):
        if self.has_override(k):
            return self.get_override(k)
        try:
            return dict.__getitem__(self, k)
        except __HOLE__, e:
            if self.has_global_setting(k):
                return self.get_global_setting(k)
            else:
                if self.has_field(k):
                    return self.get_default(k)
            raise e
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/modules/output_modules.py/OutputModeConfig.__getitem__