From 273d18f416c5346a85d10059713032e8370dd067 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 12 Jan 2016 14:31:09 +0100 Subject: fix RuntimeException->RuntimeError --- voctocore/lib/pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'voctocore/lib/pipeline.py') 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) -- cgit v1.2.3