From 873df84889c3bb370abd3ba0c7e352395a8d9007 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 23 Sep 2011 12:31:33 -0400 Subject: [PATCH] Fix item_name -> attribute_name KeyError in select_config(). --- h5config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5config/config.py b/h5config/config.py index 2814fa4..bbe9469 100644 --- a/h5config/config.py +++ b/h5config/config.py @@ -363,4 +363,4 @@ class Config (dict): for item in setting_value: if item[attribute_name] == attribute_value: return item - raise KeyError(item_name) + raise KeyError(attribute_value) -- 2.26.2