From: W. Trevor King Date: Fri, 23 Sep 2011 16:31:33 +0000 (-0400) Subject: Fix item_name -> attribute_name KeyError in select_config(). X-Git-Tag: v0.2~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=873df84889c3bb370abd3ba0c7e352395a8d9007;p=h5config.git Fix item_name -> attribute_name KeyError in select_config(). --- 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)