From d99717d9d226df751efcc65b82aa0c052455b4d8 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 31 Mar 2014 20:11:54 +0300 Subject: Some cleanups. --- mparser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mparser.py') diff --git a/mparser.py b/mparser.py index 1f7de2110..7796dd849 100644 --- a/mparser.py +++ b/mparser.py @@ -16,11 +16,11 @@ import re import sys +from coredata import MesonException -class ParseException(Exception): +class ParseException(MesonException): def __init__(self, text, lineno, colno): - super().__init__() - self.text = text + super().__init__(text) self.lineno = lineno self.colno = colno -- cgit v1.2.3