Skip to content

Commit 9a5e204

Browse files
committed
Fixes for Joris
1 parent d2b9d40 commit 9a5e204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpydoc/numpydoc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
import inspect
2525
import collections
2626
import hashlib
27-
import logging
2827

2928
from docutils.nodes import citation, Text
3029
import sphinx
3130
from sphinx.addnodes import pending_xref, desc_content
31+
from sphinx.util import logging
3232

3333
if sphinx.__version__ < '1.0.1':
3434
raise RuntimeError("Sphinx 1.0.1 or newer is required")
@@ -136,7 +136,7 @@ def mangle_docstrings(app, what, name, obj, options, lines):
136136
doc = unicode(doc)
137137
lines[:] = doc.split(u_NL)
138138
except:
139-
logger.error('While processing numpydoc for %r', name)
139+
logger.error('[numpydoc] While processing docstring for %r', name)
140140
raise
141141

142142
if (app.config.numpydoc_edit_link and hasattr(obj, '__name__') and

0 commit comments

Comments
 (0)