diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-12 20:36:52 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-12 20:36:52 +0200 |
| commit | 59b1a943953cb5c70acd2b5c65962f7d1c023626 (patch) | |
| tree | eab53dec9d2bb9f79b19de9d541fbb180b315aed | |
| parent | 6cdb4c46613892c550013a74d76033717e1f72ef (diff) | |
Replace a 'raise InternalError' with _internal_error()
Oversight
| -rw-r--r-- | kconfiglib.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index afd4a78..fcc2f43 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -4177,8 +4177,7 @@ class MenuNode(object): " tree)") else: - raise InternalError("unable to determine type in " - "MenuNode.__repr__()") + _internal_error("unable to determine type in MenuNode.__repr__()") if self.prompt: fields.append('prompt "{}" (visibility {})' |
