From 03103bea14b3f6e93772b287278cc3a25bb40a85 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 2 Mar 2018 20:19:26 -0800 Subject: [PATCH] conf: use a more informative description for validate() --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 61ae225..c6d1104 100644 --- a/conf.py +++ b/conf.py @@ -50,7 +50,7 @@ conf['pylink'] = conf['bot'] confname = 'unconfigured' def validate(condition, errmsg): - """Convenience function to validate conditions in validateConf().""" + """Raises ConfigValidationError with errmsg unless the given condition is met.""" if not condition: raise ConfigValidationError(errmsg)