splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

Broken Link in `splunklib/searchcommands/search_command.py`

Open loganknecht opened this issue 10 years ago • 4 comments

Line 1037 has a broken link. Not sure where it should be redirecting to.

loganknecht avatar Apr 07 '16 01:04 loganknecht

I'll have a look at line 1037 when I've got access to a larger screen. Why do you not like the shortened URLs?

Sent from my iPhone

On Apr 6, 2016, at 6:19 PM, Logan Knecht <[email protected]mailto:[email protected]> wrote:

Line 1037 has a broken link. Not sure where it should be redirecting to.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHubhttps://github.com/splunk/splunk-sdk-python/issues/139

David-Noble-at-work avatar Apr 07 '16 01:04 David-Noble-at-work

Here’s a suitable replacement link: https://docs.python.org/2/library/main.html. It describes Python’s idiomatic “conditional script” stanza which causes a script to run:

if name == "main": main()

The dispatch function makes use of this Python idiom. Can you include this link update in your pull request?

On Apr 6, 2016, at 6:26 PM, David Noble <[email protected]mailto:[email protected]> wrote:

I'll have a look at line 1037 when I've got access to a larger screen. Why do you not like the shortened URLs?

Sent from my iPhone

On Apr 6, 2016, at 6:19 PM, Logan Knecht <[email protected]mailto:[email protected]> wrote:

Line 1037 has a broken link. Not sure where it should be redirecting to.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHubhttps://github.com/splunk/splunk-sdk-python/issues/139

David-Noble-at-work avatar Apr 07 '16 02:04 David-Noble-at-work

@shakeelmohamed I believe this was merged into develop.

https://github.com/splunk/splunk-sdk-python/pull/140

loganknecht avatar Apr 11 '16 19:04 loganknecht

@loganknecht :+1:

shakeelmohamed avatar Apr 11 '16 21:04 shakeelmohamed