aboutsummaryrefslogtreecommitdiff
path: root/scripts/exceptions.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 10:46:27 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 15:36:58 +0200
commitb950d11fd8c8059fc935e80816cbe27d8d0b9b7b (patch)
treebda214b9d3cdc107581ba2a2fd869d95a413c5a5 /scripts/exceptions.py
parent030dc22bc6c28faac3fadcd4a7df93a2a4147535 (diff)
downloadlinux-conf-perf-b950d11fd8c8059fc935e80816cbe27d8d0b9b7b.tar.gz
linux-conf-perf-b950d11fd8c8059fc935e80816cbe27d8d0b9b7b.tar.bz2
linux-conf-perf-b950d11fd8c8059fc935e80816cbe27d8d0b9b7b.zip
Single configuration generation ensured to generate only single
configuration per execution
Diffstat (limited to 'scripts/exceptions.py')
-rw-r--r--scripts/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/exceptions.py b/scripts/exceptions.py
index 89fba0a..ac7f093 100644
--- a/scripts/exceptions.py
+++ b/scripts/exceptions.py
@@ -20,6 +20,11 @@ class ConfigurationError(Exception):
def __str__(self):
return "Configuration error: " + message
+class NoNewConfiguration(Exception):
+ def __init__(self):
+ pass
+ def __str__(self):
+ return "No new configuration generated"
class NoApplicableConfiguration(Exception):
def __init__(self):
pass