Skip to content

Commit c2d01e1

Browse files
committed
exc: pydocstyle manual fixes
1 parent 646f69b commit c2d01e1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/libvcs/exc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class LibVCSException(Exception):
77

88

99
class CommandError(LibVCSException):
10-
"""This exception is raised on non-zero return codes."""
10+
"""Raised on non-zero return codes."""
1111

1212
def __init__(
1313
self,
@@ -23,6 +23,7 @@ def __init__(
2323
self.cmd = cmd
2424

2525
def __str__(self) -> str:
26+
"""Return command output."""
2627
message = self.message.format(returncode=self.returncode, cmd=self.cmd)
2728
if len(self.output.strip()):
2829
message += "\n%s" % self.output

0 commit comments

Comments
 (0)