1.1 --- a/moinformat/utils/graphviz.py Fri Mar 15 18:37:04 2019 +0100
1.2 +++ b/moinformat/utils/graphviz.py Tue Apr 09 16:03:59 2019 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Graphviz utilities.
1.6
1.7 -Copyright (C) 2018 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2018, 2019 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -19,6 +19,7 @@
1.13 this program. If not, see <http://www.gnu.org/licenses/>.
1.14 """
1.15
1.16 +from moinformat.errors import ProcessingError
1.17 from os.path import exists, join
1.18 from StringIO import StringIO
1.19 from subprocess import Popen, PIPE
1.20 @@ -184,12 +185,11 @@
1.21
1.22 # Classes for interacting with Graphviz.
1.23
1.24 -class GraphvizError(Exception):
1.25 +class GraphvizError(ProcessingError):
1.26
1.27 "An error produced when using Graphviz."
1.28
1.29 - def __init__(self, errors):
1.30 - self.errors = errors
1.31 + pass
1.32
1.33 class Graphviz:
1.34