aboutsummaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2016-01-12 14:31:09 +0100
committerMaZderMind <github@mazdermind.de>2016-01-12 14:31:09 +0100
commit273d18f416c5346a85d10059713032e8370dd067 (patch)
treedaf786182c0be112793f3692a9e7b37ee6d76ad3 /voctocore
parent2f3ec30e1802b67aaf9f7ad12b21bb31467b757f (diff)
fix RuntimeException->RuntimeError
Diffstat (limited to 'voctocore')
-rw-r--r--voctocore/lib/pipeline.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/voctocore/lib/pipeline.py b/voctocore/lib/pipeline.py
index 365cadd..9c6a7f8 100644
--- a/voctocore/lib/pipeline.py
+++ b/voctocore/lib/pipeline.py
@@ -21,7 +21,7 @@ class Pipeline(object):
names = Config.getlist('mix', 'sources')
if len(names) < 1:
- raise RuntimeException("At least one AVSource must be configured!")
+ raise RuntimeError("At least one AVSource must be configured!")
self.sources = []
self.mirrors = []
@@ -80,7 +80,7 @@ class Pipeline(object):
if Config.getboolean('stream-blanker', 'enabled'):
names = Config.getlist('stream-blanker', 'sources')
if len(names) < 1:
- raise RuntimeException("At least one StreamBlanker-Source must be configured or the StreamBlanker disabled!")
+ raise RuntimeError("At least one StreamBlanker-Source must be configured or the StreamBlanker disabled!")
for idx, name in enumerate(names):
port = 17000 + idx
self.log.info('Creating StreamBlanker VSource %s at tcp-port %u', name, port)