From b08e8e22331765985030b59ddbcbf08bb59f7282 Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Mon, 22 Jul 2019 12:56:15 -0700 Subject: [PATCH] Fix Message.is_response() --- src/ptvsd/common/messaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptvsd/common/messaging.py b/src/ptvsd/common/messaging.py index 803ef882..9aecfc3e 100644 --- a/src/ptvsd/common/messaging.py +++ b/src/ptvsd/common/messaging.py @@ -351,7 +351,7 @@ class Message(object): def is_response(self, command=None): if not isinstance(self, Response): return False - return command is None or self.command == command + return command is None or self.request.command == command @staticmethod def raise_error(*args, **kwargs):