summaryrefslogtreecommitdiff
path: root/libvirt-override-virStream.py
diff options
context:
space:
mode:
Diffstat (limited to 'libvirt-override-virStream.py')
-rw-r--r--libvirt-override-virStream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override-virStream.py b/libvirt-override-virStream.py
index 2d716eb..d9bf260 100644
--- a/libvirt-override-virStream.py
+++ b/libvirt-override-virStream.py
@@ -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()