mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix problem when paths from eval are none (can happen in emscripten case)
This commit is contained in:
parent
fb40a0b002
commit
93f969720a
1 changed files with 4 additions and 3 deletions
|
|
@ -312,9 +312,10 @@ def describe_environment(header):
|
|||
|
||||
for p in sorted(paths):
|
||||
report("{0}{1}", prefix, p)
|
||||
rp = os.path.realpath(p)
|
||||
if p != rp:
|
||||
report("({0})", rp)
|
||||
if p is not None:
|
||||
rp = os.path.realpath(p)
|
||||
if p != rp:
|
||||
report("({0})", rp)
|
||||
report("\n")
|
||||
|
||||
prefix = " " * len(prefix)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue