Merge pull request #122 from virtuald/errmsg

Emit more descriptive error message if config file is incorrect
This commit is contained in:
Jeff Ahrenholz 2017-05-18 20:56:36 -07:00 committed by GitHub
commit 856ded351c

View file

@ -831,7 +831,7 @@ class CoreService(object):
def setvalue(self, key, value):
if key not in self.keys:
raise ValueError
raise ValueError('key `%s` not in `%s`' % (key, self.keys))
# this handles data conversion to int, string, and tuples
if value:
if key == "startidx":