bastichelaar/salt — comment on commit 5b5d7dcd125296c0175292af5df4b6b3ed456097
File: salt/modules/publish.py line 48
By SEJeff:

Using ```ast.literal_eval()```, you likely don't even need the try/except blocks. Either way, please don't use ```except:``` as it might catch exceptions we don't want to catch here. Find the specific exception being raised and catch it explicitly.