Closes #1386: Fix bug preventing more than one theme being added by the entry point mechanism.

This commit is contained in:
Georg Brandl 2014-03-01 09:25:36 +01:00
parent aa2f064e2f
commit 3149f36189
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,8 @@ Bugs fixed
* #1383: Fix Python 2.5 compatibility of sphinx-apidoc.
* #1391: Actually prevent using "pngmath" and "mathjax" extensions at the same
time in sphinx-quickstart.
* #1386: Fix bug preventing more than one theme being added by the entry point
mechanism.
Documentation
-------------

View File

@ -72,7 +72,7 @@ class Theme(object):
for theme in os.listdir(themedir):
if not path.isfile(path.join(themedir, theme, THEMECONF)):
continue
cls.themes[theme] = (path.join(themedir, theme), None)
cls.themes[theme] = (path.join(themedir, theme), None)
def __init__(self, name):
if name not in self.themes: