Navigation Menu

Skip to content

Commit

Permalink
Fix displaying message when loading of source fails (reported by Alan…
Browse files Browse the repository at this point in the history
… Brogan)
  • Loading branch information
inducer committed May 25, 2014
1 parent 03c4417 commit 087de94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pudb/debugger.py
Expand Up @@ -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,
Expand Down

0 comments on commit 087de94

Please sign in to comment.