Permalink
Browse files

Fix displaying message when loading of source fails (reported by Alan…

… Brogan)
  • Loading branch information...
1 parent 03c4417 commit 087de940b77b8828f61bcee54439f3d7fcdbedbb @inducer committed May 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 pudb/debugger.py
View
@@ -506,7 +506,7 @@ def get_lines(self, debugger_ui):
return format_source(debugger_ui, decoded_lines, set(breakpoints))
except:
from pudb.lowlevel import format_exception
- self.message("Could not load source file '%s':\n\n%s" % (
+ debugger_ui.message("Could not load source file '%s':\n\n%s" % (
self.file_name, "".join(format_exception(sys.exc_info()))),
title="Source Code Load Error")
return [SourceLine(self,

0 comments on commit 087de94

Please sign in to comment.