mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Fix lint failures
This commit is contained in:
parent
5131e52f44
commit
9a5ccdd307
@ -1,3 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Module for interop with the Splunk API
|
||||
|
||||
@ -245,7 +246,7 @@ def list_all(prefix=None, app=None, owner=None, description_contains=None,
|
||||
name = "splunk_search.list_all get defaults"
|
||||
try:
|
||||
client.saved_searches.delete(name)
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
search = client.saved_searches.create(name, search="nothing")
|
||||
defaults = dict(search.content)
|
||||
|
Loading…
Reference in New Issue
Block a user