[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
apigen = py.path.local(self.config.option.apigen).pyimport()
if not hasattr(apigen, 'build'):
raise NotImplementedError("Provided script does not seem "
"to contain build function")
raise NotImplementedError("%s does not contain 'build' "
"function" %(apigen,))
print >>sys.stderr, 'building documentation'
capture = py.io.OutErrCapture()
try: