mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-30 23:41:52 +03:00
stream: Simplify boolean condition
Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
committed by
Daniel Berrange
parent
06222739f7
commit
109b257fe5
@ -253,7 +253,7 @@
|
||||
"""
|
||||
while True:
|
||||
[inData, sectionLen] = holeHandler(self, opaque)
|
||||
if (inData == False and sectionLen > 0):
|
||||
if not inData and sectionLen > 0:
|
||||
if (self.sendHole(sectionLen) < 0 or
|
||||
skipHandler(self, sectionLen, opaque) < 0):
|
||||
self.abort()
|
||||
|
Reference in New Issue
Block a user