mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix timeline logging on Python 2.
This commit is contained in:
parent
c511e98b02
commit
22f25c8d04
1 changed files with 3 additions and 3 deletions
|
|
@ -639,10 +639,10 @@ def _describe_message(message_type, *items):
|
|||
s = "{..., " + s[1:]
|
||||
|
||||
# Used by some.dict.containing to inject ... as needed.
|
||||
s = s.replace(r'"\u0002...": "...\u0003"', "...")
|
||||
s = s.replace('"\\u0002...": "...\\u0003"', "...")
|
||||
# Used by some.* and by Event/Request/Response expectations below.
|
||||
s = s.replace(r'"\u0002', '')
|
||||
s = s.replace(r'\u0003"', '')
|
||||
s = s.replace('"\\u0002', '')
|
||||
s = s.replace('\\u0003"', '')
|
||||
|
||||
if len(s) <= 70:
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue