From a4fa8960970a275013cc1ef68d153222c6c1a5fb Mon Sep 17 00:00:00 2001 From: Oliver Bestwalter Date: Fri, 15 Sep 2017 10:47:27 +0200 Subject: [PATCH] fix oversight in fixing #595: inherit new exception from Error --- tox/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox/__init__.py b/tox/__init__.py index b3d38b851..4f2c0bdba 100644 --- a/tox/__init__.py +++ b/tox/__init__.py @@ -16,7 +16,7 @@ class Error(Exception): def __str__(self): return "%s: %s" % (self.__class__.__name__, self.args[0]) - class MissingSubstitution(Exception): + class MissingSubstitution(Error): FLAG = 'TOX_MISSING_SUBSTITUTION' """placeholder for debugging configurations""" def __init__(self, name):