[Python-checkins] r62672 - doctools/trunk/sphinx/builder.py
georg.brandl
python-checkins at python.org
Sat May 3 22:18:25 CEST 2008
Author: georg.brandl
Date: Sat May 3 22:18:25 2008
New Revision: 62672
Log:
Warn if config value isn't a string.
Modified:
doctools/trunk/sphinx/builder.py
Modified: doctools/trunk/sphinx/builder.py
==============================================================================
--- doctools/trunk/sphinx/builder.py (original)
+++ doctools/trunk/sphinx/builder.py Sat May 3 22:18:25 2008
@@ -324,6 +324,9 @@
logo = self.config.html_logo and \
path.basename(self.config.html_logo) or ''
+ if not isinstance(self.config.html_use_opensearch, basestring):
+ self.warn('html_use_opensearch config value must now be a string')
+
self.globalcontext = dict(
project = self.config.project,
release = self.config.release,
More information about the Python-checkins
mailing list