diff options
Diffstat (limited to 'sphinx/util/__init__.py')
-rw-r--r-- | sphinx/util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 56cd38889..72485570f 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -205,7 +205,7 @@ def save_traceback(app): if isinstance(modfile, bytes): modfile = modfile.decode(fs_encoding, 'replace') os.write(fd, ('# %s (%s) from %s\n' % ( - extname, app._extension_versions[extname], + extname, app._extension_metadata[extname]['version'], modfile)).encode('utf-8')) os.write(fd, exc.encode('utf-8')) os.close(fd) |