##// END OF EJS Templates
hghave: replace relative import of docutils.core
Yuya Nishihara -
r28779:0970ebec default
parent child Browse files
Show More
@@ -267,8 +267,8 b' def has_git():'
267 267 @check("docutils", "Docutils text processing library")
268 268 def has_docutils():
269 269 try:
270 from docutils.core import publish_cmdline
271 publish_cmdline # silence unused import
270 import docutils.core
271 docutils.core.publish_cmdline # silence unused import
272 272 return True
273 273 except ImportError:
274 274 return False
General Comments 0
You need to be logged in to leave comments. Login now