Skip to content

Commit 98ab7bb

Browse files
tirkarthiamysutedja
authored andcommitted
Fix deprecation warning regarding invalid escape sequences.
1 parent 9badb9a commit 98ab7bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

splunklib/searchcommands/internals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def set_binary_mode(fh):
7575

7676

7777
class CommandLineParser(object):
78-
""" Parses the arguments to a search command.
78+
r""" Parses the arguments to a search command.
7979
8080
A search command line is described by the following syntax.
8181

tests/testlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def app_collection_installed(self):
184184
return collectionName in self.service.apps
185185

186186
def pathInApp(self, appName, pathComponents):
187-
"""Return a path to *pathComponents* in *appName*.
187+
r"""Return a path to *pathComponents* in *appName*.
188188
189189
`pathInApp` is used to refer to files in applications installed with
190190
`install_app_from_collection`. For example, the app `file_to_upload` in

0 commit comments

Comments
 (0)