Skip to content

Commit 7fba44c

Browse files
author
David Noble
committed
Merge branch 'develop' of https://github.com/splunk/splunk-sdk-python into develop
2 parents 5d205c1 + 132e733 commit 7fba44c

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The Splunk Software Development Kit for Python
22

3-
#### Version 1.2
3+
#### Version 1.2.1
44

55
The Splunk Software Development Kit (SDK) for Python contains library code and
66
examples designed to enable developers to build applications using Splunk.
@@ -72,7 +72,7 @@ examples and unit tests from the SDK.
7272

7373
To run the examples and unit tests, you must put the root of
7474
the SDK on your PYTHONPATH. For example, if you have downloaded the SDK to your
75-
home folder and are running Mac OS X or Linux, add the following line to your
75+
home folder and are running OS X or Linux, add the following line to your
7676
**.bash_profile**:
7777

7878
export PYTHONPATH=~/splunk-sdk-python
@@ -108,7 +108,7 @@ To use this convenience file, create a text file with the following format:
108108

109109
Save the file as **.splunkrc** in the current user's home directory.
110110

111-
* For example on Mac OS X, save the file as:
111+
* For example on OS X, save the file as:
112112

113113
~/.splunkrc
114114

examples/searchcommands_app/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ The app is tested on Splunk 5 and 6. Here is its manifest:
3232
└── local.meta ............... Permits the search assistant to use searchbnf.conf[6]
3333
```
3434
**References**
35-
[1] [app.conf](http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Appconf app.conf)
36-
[2] [commands.conf](http://docs.splunk.com/Documentation/Splunk/6.0.1/Admin/Commandsconf)
35+
[1] [app.conf](http://docs.splunk.com/Documentation/Splunk/latest/Admin/Appconf app.conf)
36+
[2] [commands.conf](http://docs.splunk.com/Documentation/Splunk/latest/Admin/Commandsconf)
3737
[3] [Python Logging HOWTO](http://docs.python.org/2/howto/logging.html)
3838
[4] [ConfigParser—Configuration file parser](http://docs.python.org/2/library/configparser.html)
39-
[5] [searchbnf.conf](http://docs.splunk.com/Documentation/Splunk/6.0.1/admin/Searchbnfconf)
39+
[5] [searchbnf.conf](http://docs.splunk.com/Documentation/Splunk/latest/admin/Searchbnfconf)
4040
[6] [Set permissions in the file system](http://goo.gl/1oDT7r)
4141

4242
## Installation
4343

4444
+ Install the app by copying the `searchcommands_app` directory to `$SPLUNK_HOME/etc/apps/searchcommands_app`.
4545

46-
+ Recursively copy `splunklib` to `$SPLUNK_HOME/etc/apps/searchcommands_app/bin`
46+
+ Recursively copy `splunklib` to `$SPLUNK_HOME/etc/apps/searchcommands_app/bin`.
4747

4848
+ (Re)start Splunk so that the app is recognized.
4949

splunklib/searchcommands/search_command.py

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

4141

4242
class SearchCommand(object):
43-
""" Represents a custom search command
43+
""" Represents a custom search command.
4444
4545
"""
4646

@@ -133,14 +133,14 @@ def logging_level(self, value):
133133

134134
@property
135135
def configuration(self):
136-
""" Returns the configuration settings for this command
136+
""" Returns the configuration settings for this command.
137137
138138
"""
139139
return self._configuration
140140

141141
@property
142142
def fieldnames(self):
143-
""" Returns the fieldnames specified as argument to this command
143+
""" Returns the fieldnames specified as argument to this command.
144144
145145
"""
146146
return self._fieldnames
@@ -151,7 +151,7 @@ def fieldnames(self, value):
151151

152152
@property
153153
def options(self):
154-
""" Returns the options specified as argument to this command
154+
""" Returns the options specified as argument to this command.
155155
156156
"""
157157
if self._option_view is None:

splunklib/searchcommands/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def format(self, value):
3737

3838

3939
class Boolean(Validator):
40-
""" Validates boolean option values
40+
""" Validates Boolean option values.
4141
4242
"""
4343
truth_values = {

0 commit comments

Comments
 (0)