mirror of
https://git.yoctoproject.org/poky
synced 2026-10-15 17:07:16 +00:00
Exception handling fixups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
cf58d41af8
commit
cbc8140c77
1 file changed
+2
-2
@@ -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 )
|
||||
|
||||
|
||||
Reference in new issue
Block a user