[svn r37499] concreter error message

--HG--
branch : trunk
This commit is contained in:
hpk 2007-01-28 21:25:11 +01:00
parent 12d1da1194
commit ae11e91791
1 changed files with 2 additions and 2 deletions

View File

@ -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: