Commit c229cda
David Noble
Addresses Python SDK issue reported by [sathiyamoorthy](http://answers.splunk.com/users/166464/sathiyamoorthy)
See [problem-with-python-splunk-sdk-autologin](http://answers.splunk.com/answers/122881/problem-with-python-splunk-sdk-autologin)
Here's the repro:
1. Enter these statements into the Python REPL
```
import splunklib.client as splunkclient
splunk_service = splunkclient.connect(host='localhost', port=8089, username='admin', password='changeme', autologin=True)
splunk_service.jobs.oneshot("search index=myindex", earliest_time='-1hour')
```
2. Restart Splunk
3. Enter this statement into the Python REPL
```
splunk_service.jobs.oneshot("search index=myindex", earliest_time='-1hour')
```
**Expected:** Autologin
**Observed:** Exception
TODO: Test that covers this scenario.
Signed-off-by: David Noble <dnoble@splunk.com>1 parent f13c895 commit c229cda
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
0 commit comments