From 6ff83e6f29217c4110b8b7365a04f3cab75fac65 Mon Sep 17 00:00:00 2001 From: "Bhargav Joshi(C)" Date: Fri, 19 Jul 2019 00:29:07 +0530 Subject: [PATCH] csv.Dialect converted to str for python3 --- splunklib/searchcommands/validators.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/splunklib/searchcommands/validators.py b/splunklib/searchcommands/validators.py index dca4cf422..f3e2e5213 100644 --- a/splunklib/searchcommands/validators.py +++ b/splunklib/searchcommands/validators.py @@ -249,10 +249,10 @@ class List(Validator): class Dialect(csv.Dialect): """ Describes the properties of list option values. """ strict = True - delimiter = b',' - quotechar = b'"' + delimiter = str(',') + quotechar = str('"') doublequote = True - lineterminator = b'\n' + lineterminator = str('\n') skipinitialspace = True quoting = csv.QUOTE_MINIMAL