diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-07-25 14:25:42 +0300 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-07-25 15:16:44 +0200 |
commit | 5fc6ef5990fa66982a3803916f32f7aa8d7f9692 (patch) | |
tree | 4b52ec1edda4257af30041564986b3c5e0c6cf02 /bin/refcount_leak.py | |
parent | 8ee0b01f226665c877d5ed59b23eec278800a667 (diff) |
bin: fix issues found by Ruff linter
Change-Id: Ic81d21a90059f5db87543c8ce2abb8007f278f14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171008
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'bin/refcount_leak.py')
-rwxr-xr-x | bin/refcount_leak.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/refcount_leak.py b/bin/refcount_leak.py index d0b8cd502f7c..94ae2c42adb9 100755 --- a/bin/refcount_leak.py +++ b/bin/refcount_leak.py @@ -64,7 +64,7 @@ class Trace: self.clock = Trace.clock def addTrace(traces, lines): - if not(traces is None) and len(lines) > 0: + if traces is not None and len(lines) > 0: traces.append(Trace(lines)) def readGdbLog(infile): |