We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713b3ef commit eb152efCopy full SHA for eb152ef
solnlib/splunkenv.py
@@ -42,15 +42,15 @@ def simpleRequest(*args, **kwargs):
42
except ImportError:
43
44
def getSessionKey(*args, **kwargs):
45
- return None
+ raise ImportError("This module requires Splunk to be installed.")
46
47
48
try:
49
from splunk.clilib.bundle_paths import make_splunkhome_path as msp
50
51
52
def msp(*args, **kwargs):
53
54
55
56
__all__ = [
0 commit comments