Fix exception when processing nop cmd

This commit is contained in:
Gunjan Gupta 2023-01-20 10:58:40 +00:00 committed by GitHub
parent f6b94da5fa
commit 6d1d1b520d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,7 +339,7 @@ class firehose(metaclass=LogBase):
def cmd_nop(self): def cmd_nop(self):
data = "<?xml version=\"1.0\" ?><data><nop /></data>" data = "<?xml version=\"1.0\" ?><data><nop /></data>"
resp = self.xmlsend(data, True) resp = self.xmlsend(data, True)
self.debug(resp.hex()) self.debug(resp.data.hex())
info = b"" info = b""
tmp = None tmp = None
while tmp != b"": while tmp != b"":