diff options
author | Philipp Hahn <hahn@univention.de> | 2018-11-21 09:08:32 +0100 |
---|---|---|
committer | Daniel Berrange <berrange@redhat.com> | 2020-08-18 09:48:25 +0000 |
commit | 109b257fe528a1e0c132a649abfda75ef54727b5 (patch) | |
tree | ef5c25005ac62c0d377ded8e0ce457580f76ae36 /libvirt-override-virStream.py | |
parent | 06222739f7dd332f77744a5ddf2883624747dfa3 (diff) | |
download | libvirt-python-109b257fe528a1e0c132a649abfda75ef54727b5.tar.gz |
stream: Simplify boolean condition
Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'libvirt-override-virStream.py')
-rw-r--r-- | libvirt-override-virStream.py | 2 |
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() |