summaryrefslogtreecommitdiffstats
path: root/lib/python/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/config.py')
-rw-r--r--lib/python/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/config.py b/lib/python/config.py
index 35693be41a..ac674105e9 100644
--- a/lib/python/config.py
+++ b/lib/python/config.py
@@ -51,7 +51,7 @@ def get_release_codename(release, suffix=''):
if 'release' in config[r] and config[r]['release'] == release:
return r + suffix
- return None
+ raise ValueError("invalid release name: " + repr(release))
def get_release_alias(codename):
config = get_config()

© 2014-2024 Faster IT GmbH | imprint | privacy policy