Skip to content

Commit 2ae5332

Browse files
author
d.kovalenko
committed
exceptions: fixed typo (#290) [thanks to Maksim Korotkov]
It is implied that command_s should be a string, but now it is a tuple due to a typo. Signed-off-by: Maksim Korotkov <m.korotkov@postgrespro.ru>
1 parent 242aaea commit 2ae5332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __str__(self):
2222
msg.append(self.message)
2323

2424
if self.command:
25-
command_s = ' '.join(self.command) if isinstance(self.command, list) else self.command,
25+
command_s = ' '.join(self.command) if isinstance(self.command, list) else self.command
2626
msg.append(u'Command: {}'.format(command_s))
2727

2828
if self.exit_code:

0 commit comments

Comments
 (0)