diff options
| -rw-r--r-- | kconfiglib.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index cc75143..2a8d471 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -5331,17 +5331,12 @@ class Variable(object): self.value) class KconfigError(Exception): - """ - Exception raised for Kconfig-related errors. - """ - -# Backwards compatibility -KconfigSyntaxError = KconfigError + "Exception raised for Kconfig-related errors" class InternalError(Exception): - """ - Exception raised for internal errors. - """ + "Exception raised for internal errors" + +KconfigSyntaxError = KconfigError # Backwards compatibility # # Public functions @@ -6032,7 +6027,6 @@ def _shell_fn(kconf, _, command): # parameter was added in 3.6), so we do this manual version instead. return "\n".join(stdout.splitlines()).rstrip("\n").replace("\n", " ") - # # Public global constants # |
