diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-04-09 14:01:11 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-04-09 19:38:55 -0700 |
commit | afe20ccdd25590a4cf56dd9f65aad91b9b61b801 (patch) | |
tree | 66c8acedd9fa364eb9212ef95b2a641e329990ac /lib | |
parent | 20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394 (diff) | |
download | bitbake-contrib-afe20ccdd25590a4cf56dd9f65aad91b9b61b801.tar.gz |
Exception handling fixups
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/data_smart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index 7f46b4abb..2edeec064 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -126,7 +126,7 @@ class DataSmart: name = var[:-l] try: self.renameVar(var, name) - except: + except Exception: bb.msg.note(1, bb.msg.domain.Data, "Untracked delVar") # now on to the appends and prepends @@ -203,7 +203,7 @@ class DataSmart: # pay the cookie monster try: self._special_values[keyword].add( base ) - except: + except KeyError: self._special_values[keyword] = set() self._special_values[keyword].add( base ) |