Skip to content

Commit 79ad17a

Browse files
bj8798Eric Cheng
authored andcommitted
convert csv.Dialect to string for python3 (#259)
1 parent 84dab82 commit 79ad17a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

splunklib/searchcommands/validators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ class List(Validator):
249249
class Dialect(csv.Dialect):
250250
""" Describes the properties of list option values. """
251251
strict = True
252-
delimiter = b','
253-
quotechar = b'"'
252+
delimiter = str(',')
253+
quotechar = str('"')
254254
doublequote = True
255-
lineterminator = b'\n'
255+
lineterminator = str('\n')
256256
skipinitialspace = True
257257
quoting = csv.QUOTE_MINIMAL
258258

0 commit comments

Comments
 (0)