Skip to content

Commit b58a594

Browse files
committed
Spellcheck in client.py
1 parent 58bc973 commit b58a594

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

splunklib/client.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
jobs, saved searches, inputs, and indexes). All of these fields are
3333
:class:`Collection` objects::
3434
35-
appcollection = service.apps
36-
my_app = appcollection.create('my_app')
37-
my_app = appcollection['my_app']
38-
appcollection.delete('my_app')
35+
app_collection = service.apps
36+
my_app = app_collection.create('my_app')
37+
my_app = app_collection['my_app']
38+
app_collection.delete('my_app')
3939
4040
The individual elements of the collection, in this case *applications*,
4141
are subclasses of :class:`Entity`. An ``Entity`` object has fields for its
@@ -887,7 +887,7 @@ def get(self, path_segment="", owner=None, app=None, sharing=None, **query):
887887
('content-type', 'text/xml; charset=utf-8')],
888888
'reason': 'OK',
889889
'status': 200}
890-
apps.get('nonexistant/path') # raises HTTPError
890+
apps.get('nonexistent/path') # raises HTTPError
891891
s.logout()
892892
apps.get() # raises AuthenticationError
893893
"""
@@ -969,7 +969,7 @@ def post(self, path_segment="", owner=None, app=None, sharing=None, **query):
969969
('content-type', 'text/xml; charset=utf-8')],
970970
'reason': 'Created',
971971
'status': 201}
972-
apps.get('nonexistant/path') # raises HTTPError
972+
apps.get('nonexistent/path') # raises HTTPError
973973
s.logout()
974974
apps.get() # raises AuthenticationError
975975
"""
@@ -1468,7 +1468,7 @@ def __iter__(self, **kwargs):
14681468
:type kwargs: ``dict``
14691469
:rtype: iterator over entities.
14701470
1471-
Implemented to give Collection a listish interface. This
1471+
Implemented to give Collection a list-ish interface. This
14721472
function always makes a roundtrip to the server, plus at most
14731473
two additional round trips if
14741474
the ``autologin`` field of :func:`connect` is set to ``True``.
@@ -1488,7 +1488,7 @@ def __iter__(self, **kwargs):
14881488
def __len__(self):
14891489
"""Enable ``len(...)`` for ``Collection`` objects.
14901490
1491-
Implemented for consistency with a listish interface. No
1491+
Implemented for consistency with a list-ish interface. No
14921492
further failure modes beyond those possible for any method on
14931493
an Endpoint.
14941494
@@ -1867,7 +1867,7 @@ def get(self, name="", owner=None, app=None, sharing=None, **query):
18671867
('content-type', 'text/xml; charset=utf-8')],
18681868
'reason': 'OK',
18691869
'status': 200}
1870-
saved_searches.get('nonexistant/search') # raises HTTPError
1870+
saved_searches.get('nonexistent/search') # raises HTTPError
18711871
s.logout()
18721872
saved_searches.get() # raises AuthenticationError
18731873
@@ -1967,7 +1967,7 @@ def delete(self, key):
19671967
def _entity_path(self, state):
19681968
# Overridden to make all the ConfigurationFile objects
19691969
# returned refer to the configs/ path instead of the
1970-
# properties/ path used by Configrations.
1970+
# properties/ path used by Configurations.
19711971
return PATH_CONF % state["title"]
19721972

19731973

@@ -3204,7 +3204,7 @@ def create(self, query, **kwargs):
32043204
32053205
:param query: The search query.
32063206
:type query: ``string``
3207-
:param kwargs: Additiona parameters (optional). For a list of available
3207+
:param kwargs: Additional parameters (optional). For a list of available
32083208
parameters, see `Search job parameters
32093209
<http://dev.splunk.com/view/SP-CAAAEE5#searchjobparams>`_
32103210
on Splunk Developer Portal.

0 commit comments

Comments
 (0)