mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Remove unused variable
This commit is contained in:
parent
10a9c39cec
commit
ebf7269c6b
@ -2221,7 +2221,7 @@ def diff_node_cache(prov_dir, node, new_data, opts):
|
||||
with salt.utils.fopen(path, 'r') as fh_:
|
||||
try:
|
||||
cache_data = msgpack.load(fh_)
|
||||
except ValueError as exc:
|
||||
except ValueError:
|
||||
log.warning('Cache for {0} was corrupt: Deleting'.format(node))
|
||||
cache_data = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user