Skip to content

Commit

Permalink
Fix StackGetResponseRenderer pathes
Browse files Browse the repository at this point in the history
Use RemoteFilePath to map remote pathes to local ones
  • Loading branch information
Bernd Rothert committed Jan 25, 2014
1 parent fdcb1a9 commit 4b22247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/python/vdebug/ui/vimui.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def render(self):
string = ""
for s in stack:
where = s.get('where') if s.get('where') else 'main'
file = vdebug.util.LocalFilePath(s.get('filename'))
file = vdebug.util.RemoteFilePath(s.get('filename'))
line = "[%(num)s] %(where)s @ %(file)s:%(line)s" \
%{'num':s.get('level'),'where':where,\
'file':str(file),'line':s.get('lineno')}
Expand Down

0 comments on commit 4b22247

Please sign in to comment.