diff options
| author | Benjamin Peterson <benjamin@python.org> | 2008-12-27 14:14:10 -0600 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2008-12-27 14:14:10 -0600 |
| commit | 38389187caa3491b765bb4efd9f564e595b8329b (patch) | |
| tree | cb6f89e2097a93301ffca3febdeeed61eec1b013 /sphinx/builder.py | |
| parent | e37c8bc7a41af67c700d7e6f2318b7d9c6cafa15 (diff) | |
| download | sphinx-38389187caa3491b765bb4efd9f564e595b8329b.tar.gz | |
use stacklevel=2 for easier debugging
Diffstat (limited to 'sphinx/builder.py')
| -rw-r--r-- | sphinx/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builder.py b/sphinx/builder.py index 6012cbbf..65d5da34 100644 --- a/sphinx/builder.py +++ b/sphinx/builder.py @@ -25,4 +25,4 @@ from sphinx.builders.linkcheck import CheckExternalLinksBuilder warnings.warn('The sphinx.builder module is deprecated; please import ' 'builders from the respective sphinx.builders submodules.', - DeprecationWarning) + DeprecationWarning, stacklevel=2) |
