We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba825b commit 1f07147Copy full SHA for 1f07147
1 file changed
nodely/error.py
@@ -9,10 +9,11 @@ class NodeCommandError(CalledProcessError):
9
"""A Node.js command returned non-zero exit code"""
10
11
def __init__(self, returncode, cmd, cwd):
12
- super().__init__(returncode=returncode, cmd=cmd)
+ super(NodeCommandError, self).__init__(
13
+ returncode=returncode, cmd=cmd)
14
self.cwd = cwd
15
self.args += (cwd, )
16
17
def __str__(self):
18
return "{} in working directory {!r}".format(
- super().__str__(), self.cwd)
19
+ super(NodeCommandError, self).__str__(), self.cwd)
0 commit comments