aboutsummaryrefslogtreecommitdiffstats
path: root/utils/param.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/param.py')
-rw-r--r--utils/param.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/utils/param.py b/utils/param.py
index 558018e..2378758 100644
--- a/utils/param.py
+++ b/utils/param.py
@@ -125,14 +125,7 @@ class ParamSet(Sequence):
return self._by_name[i]
def __getattr__(self, attr):
- try:
- return super(ParamSet, self).__getattribute__(attr)
- except AttributeError:
- t, v, tb = sys.exc_info()
- try:
- return self[attr]
- except KeyError:
- raise t, v, tb
+ return super(ParamSet, self).__getattribute__(attr)
def __iter__(self):
return iter(self._params)