Update warning message

This commit is contained in:
Takeshi KOMIYA 2017-03-20 10:37:57 +09:00
parent f175dc1b22
commit 81c0fef4bb

View File

@ -336,7 +336,8 @@ class Sphinx(object):
@property
def buildername(self):
# type: () -> unicode
warnings.warn('app.buildername is deprecated.', RemovedInSphinx17Warning)
warnings.warn('app.buildername is deprecated. Please use app.builder.name instead',
RemovedInSphinx17Warning)
return self.builder.name
# ---- main "build" method -------------------------------------------------