Satisfy the lintmonster

This commit is contained in:
Peter Eckersley
2015-09-17 13:00:03 -07:00
parent 7c67df1076
commit 6c4d9e9324
+3 -3
View File
@@ -848,9 +848,9 @@ def _handle_exception(exc_type, exc_value, trace, args):
else:
# Tell the user a bit about what happened, without overwhelming
# them with a full traceback
msg = "An unexpected error occurred.\n"
msg += traceback.format_exception_only(exc_type,exc_value)[0]
msg += "Please see the "
msg = ("An unexpected error occurred.\n" +
traceback.format_exception_only(exc_type, exc_value)[0] +
"Please see the ")
if args is None:
msg += "logfile '{0}' for more details.".format(logfile)
else: