Skip to content
Snippets Groups Projects
Commit da178b816812 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

errors: remove ParseError.args

With the previous few patches, it is no longer needed (as far as the
test suite can tell anyway).

Differential Revision: https://phab.mercurial-scm.org/D9354
parent 68260c444fd3
No related branches found
No related tags found
No related merge requests found
......@@ -265,12 +265,6 @@
def __init__(self, message, location=None, hint=None):
super(ParseError, self).__init__(message, hint=hint)
self.location = location
# Pass the message and possibly location into the Exception constructor
# to help code that looks for exc.args.
if location is not None:
Exception.__init__(self, message, location)
else:
Exception.__init__(self, message)
def format(self):
from .i18n import _
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment