src/eric7/DebugClients/Python/coverage/parser.py

branch
eric7
changeset 9252
32dd11232e06
parent 9209
b99e7fd55fd3
child 9374
ed79209469ad
diff -r e0f98cc25bf5 -r 32dd11232e06 src/eric7/DebugClients/Python/coverage/parser.py
--- a/src/eric7/DebugClients/Python/coverage/parser.py	Wed Jul 20 16:03:55 2022 +0200
+++ b/src/eric7/DebugClients/Python/coverage/parser.py	Wed Jul 20 16:13:29 2022 +0200
@@ -377,7 +377,7 @@
         """
         if hasattr(self.code, "co_lines"):
             for _, _, line in self.code.co_lines():
-                if line is not None:
+                if line:
                     yield line
         else:
             # Adapted from dis.py in the standard library.

eric ide

mercurial