mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 17:15:28 +00:00
Make 'bailout' a valid Python3 exception
This commit is contained in:
parent
b83a3b3d1d
commit
c5b19ed66d
@ -95,7 +95,7 @@ def opener(str):
|
||||
else:
|
||||
return str.startswith(tuple(opener_prefixes))
|
||||
|
||||
class bailout:
|
||||
class bailout(Exception):
|
||||
def __init__(self, filename, lineno, msg):
|
||||
self.filename = filename
|
||||
self.lineno = lineno
|
||||
|
Loading…
x
Reference in New Issue
Block a user