Code cleanup
This commit is contained in:
parent
b48a00b9b2
commit
b14eb0551f
@ -177,9 +177,8 @@ class Configuration(object):
|
||||
"Configuration check: common -> snr: Length of exposure time (%d) not matching the length of "
|
||||
"the SNR (%d)" % (len(self.conf.common.exposure_time.val), len(self.conf.common.snr.val)))
|
||||
if not (hasattr(self.conf.common, "exposure_time") or hasattr(self.conf.common, "snr")):
|
||||
logger.error(
|
||||
"Configuration check: common: Expected at least one of the containers 'exposure_time' or 'snr' but" +
|
||||
"got none.")
|
||||
logger.error("Configuration check: common: Expected at least one of the containers 'exposure_time' or " +
|
||||
"'snr' but got none.")
|
||||
|
||||
# Check astroscene
|
||||
if not hasattr(self.conf, "astroscene"):
|
||||
|
Loading…
Reference in New Issue
Block a user