Skip to content

Commit f19b4a0

Browse files
author
Shakeel Mohamed
committed
Merge branch 'master' into develop
2 parents c76f573 + 3a7df39 commit f19b4a0

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ splunk_sdk.egg-info/
2525
dist/
2626
examples/searchcommands_app/package/default/commands.conf
2727
examples/searchcommands_app/package/bin/packages
28+
tests/searchcommands/apps/app_with_logging_configuration/*.log
29+
*.observed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### New features and APIs
66

7-
* Added support for the new experimental Search Command Protocol V2, for Splunk 6.3+.
7+
* Added support for the new experimental Search Command Protocol v2, for Splunk 6.3+.
88

99
Opt-in by setting `chunked = true` in commands.conf. See `examples/searchcommands_app/package/default/commands-scpv2.conf`.
1010

@@ -33,7 +33,7 @@
3333

3434
* GitHub issue 119: `None` returned in `_load_atom_entries`.
3535

36-
* Various other bug fixes/improvements for Search Command Protocol V1.
36+
* Various other bug fixes/improvements for Search Command Protocol v1.
3737

3838
* Various bug fixes/improvements to the full splunklib test suite.
3939

splunklib/binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ def request(url, message, **kwargs):
13241324
head = {
13251325
"Content-Length": str(len(body)),
13261326
"Host": host,
1327-
"User-Agent": "splunk-sdk-python/1.4",
1327+
"User-Agent": "splunk-sdk-python/1.5.0",
13281328
"Accept": "*/*",
13291329
} # defaults
13301330
for key, value in message["headers"]:

splunklib/modularinput/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def run_script(self, args, event_writer, input_stream):
103103
event_writer._err.write(err_string)
104104

105105
except Exception as e:
106-
err_string = EventWriter.ERROR + e.message
106+
err_string = EventWriter.ERROR + str(e.message)
107107
event_writer._err.write(err_string)
108108
return 1
109109

0 commit comments

Comments
 (0)