small fix

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-07-07 13:07:34 +02:00
parent 320835d43f
commit af5e18e26c
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class BaseReport(object):
def _getcrashline(self):
try:
return self.longrepr.reprcrash
return str(self.longrepr.reprcrash)
except AttributeError:
try:
return str(self.longrepr)[:50]