[svn r37499] concreter error message
--HG-- branch : trunk
This commit is contained in:
parent
12d1da1194
commit
ae11e91791
|
@ -261,8 +261,8 @@ class LSession(AbstractSession):
|
||||||
from py.__.apigen.tracer.docstorage import DocStorageAccessor
|
from py.__.apigen.tracer.docstorage import DocStorageAccessor
|
||||||
apigen = py.path.local(self.config.option.apigen).pyimport()
|
apigen = py.path.local(self.config.option.apigen).pyimport()
|
||||||
if not hasattr(apigen, 'build'):
|
if not hasattr(apigen, 'build'):
|
||||||
raise NotImplementedError("Provided script does not seem "
|
raise NotImplementedError("%s does not contain 'build' "
|
||||||
"to contain build function")
|
"function" %(apigen,))
|
||||||
print >>sys.stderr, 'building documentation'
|
print >>sys.stderr, 'building documentation'
|
||||||
capture = py.io.OutErrCapture()
|
capture = py.io.OutErrCapture()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue