aboutsummaryrefslogtreecommitdiff
path: root/scripts/exceptions.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-03-22 23:00:46 +0100
committerKarel Kočí <cynerd@email.cz>2015-03-22 23:00:46 +0100
commit3c57780436353267bab05a5b26d355c6308b43d7 (patch)
treedc57d796a19dcd5858a692e7d470879f300f9bb1 /scripts/exceptions.py
parent142cda87246f3282b32ddea3e5ea579aef98ef59 (diff)
downloadlinux-conf-perf-3c57780436353267bab05a5b26d355c6308b43d7.tar.gz
linux-conf-perf-3c57780436353267bab05a5b26d355c6308b43d7.tar.bz2
linux-conf-perf-3c57780436353267bab05a5b26d355c6308b43d7.zip
Kernel configuration is now throwing exception on failure
Diffstat (limited to 'scripts/exceptions.py')
-rw-r--r--scripts/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/exceptions.py b/scripts/exceptions.py
index 722c44a..68fef59 100644
--- a/scripts/exceptions.py
+++ b/scripts/exceptions.py
@@ -19,3 +19,9 @@ class PhaseMismatch(Exception):
pass
def __str__(self):
return "Phase in " + conf.phase_file + " is unknown."
+
+class KernelConfigFailed(Exception):
+ def __init__(self):
+ pass
+ def __str__(self):
+ return "Kernel configuration failed."