mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix a crash when setting up extensions which do not support metadata
This commit is contained in:
committed by
Georg Brandl
parent
d82d110dfd
commit
10183a6ca0
6
CHANGES
6
CHANGES
@@ -1,5 +1,5 @@
|
||||
Release 1.3.2 (releaseed May 21, 2015)
|
||||
======================================
|
||||
Release 1.3.2 (in development)
|
||||
==============================
|
||||
|
||||
Bugs fixed
|
||||
----------
|
||||
@@ -40,6 +40,7 @@ Bugs fixed
|
||||
Thanks to Jens Hedegaard Nielsen.
|
||||
* #1781: Setting `html_domain_indices` to a list raises a type check warnings.
|
||||
|
||||
|
||||
Release 1.3 (released Mar 10, 2015)
|
||||
===================================
|
||||
|
||||
@@ -88,6 +89,7 @@ Documentation
|
||||
|
||||
* #1651: Add ``vartype`` field descritpion for python domain.
|
||||
|
||||
|
||||
Release 1.3b3 (released Feb 24, 2015)
|
||||
=====================================
|
||||
|
||||
|
||||
@@ -453,7 +453,7 @@ class Sphinx(object):
|
||||
try:
|
||||
if not ext_meta.get('version'):
|
||||
ext_meta['version'] = 'unknown version'
|
||||
except:
|
||||
except Exception:
|
||||
ext_meta = {'version': 'unknown version'}
|
||||
self._extensions[extension] = mod
|
||||
self._extension_metadata[extension] = ext_meta
|
||||
|
||||
Reference in New Issue
Block a user