2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-28 16:20:54 +00:00

Change to str for getting string of shlex

ve.message was deprecated, but str is current.
This commit is contained in:
Jarrod Johnson
2017-04-27 16:01:30 -04:00
parent 2a1794ddad
commit a1b0ab15c5
+1 -1
View File
@@ -238,7 +238,7 @@ def parse_command(command):
try:
args = shlex.split(command, posix=True)
except ValueError as ve:
print('Error: ' + ve.message)
print('Error: ' + str(ve))
return []
return args