*Not documented*
def exconly(self, tryshort=False):
origin: code.ExceptionInfo
where:
function source:
def exconly(self, tryshort=False):
lines = py.std.traceback.format_exception_only(self.type, self.value)
text = ''.join(lines)
if text.endswith('\n'):
text = text[:-1]
if tryshort:
if text.startswith(self._striptext):
text = text[len(self._striptext):]
return text
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.0
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.1
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.2
called in /home/johnny/projects/merlinux/py/dist/py/code/excinfo.py
traceback code.ExceptionInfo.exconly.3
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.4
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.5
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.6
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.7
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.8
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.9
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.10
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.11
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.12
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.13
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.14
called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py
traceback code.ExceptionInfo.exconly.15
called in /home/johnny/projects/merlinux/py/dist/py/magic/testing/test_invoke.py
traceback code.ExceptionInfo.exconly.16
called in /home/johnny/projects/merlinux/py/dist/py/magic/testing/test_assertion.py
traceback code.ExceptionInfo.exconly.17
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.18
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback code.ExceptionInfo.exconly.19
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py