Skip to content
Snippets Groups Projects
Commit 946f88c7 authored by Marco Biasini's avatar Marco Biasini
Browse files

use "old-style" exception catching code

"except ExceptionType as var" is only supported in newer versions
of Python
parent 16518e07
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ class Help:
else:
try:
s=d.document(pydoc.resolve(what)[0])
except ImportError as detail:
except ImportError, detail:
s=str(detail)
doc_widget.doctext.setHtml(s)
doc_widget.searchbox.setText('')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment