]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Return void
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 17:52:19 +0000 (12:52 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 17:56:40 +0000 (12:56 -0500)
And omit `;` as python does not really believe in them

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.recursor-dnssec/recursortests.py

index e195fc14859db75882d8b54f13ff3d865c7a32a2..e05067cc264e45810033bd46008e5160ffe87c0d 100644 (file)
@@ -783,7 +783,7 @@ distributor-threads={threads}
     def killProcess(cls, p):
         # Don't try to kill it if it's already dead
         if p.poll() is not None:
-            return p
+            return
         try:
             p.terminate()
             for count in range(100): # tsan can be slow
@@ -806,7 +806,7 @@ distributor-threads={threads}
     @classmethod
     def tearDownAuth(cls):
         for _, auth in cls._auths.items():
-            cls.killProcess(auth);
+            cls.killProcess(auth)
 
     @classmethod
     def tearDownRecursor(cls, subdir=None):
@@ -827,7 +827,7 @@ distributor-threads={threads}
         p = cls._recursor
         for count in range(100): # tsan can be slow
             if p.poll() is not None:
-                break;
+                break
             time.sleep(0.1)
         if p.poll() is None:
             raise AssertionError('Process did not exit on request within 10s')