[Patchew-devel] [PATCH 02/12] testing: unify two ifs with the same condition

Paolo Bonzini pbonzini at redhat.com
Tue May 22 06:57:30 UTC 2018


---
 mods/testing.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mods/testing.py b/mods/testing.py
index cafe9a2..a791493 100644
--- a/mods/testing.py
+++ b/mods/testing.py
@@ -201,7 +201,6 @@ class TestingModule(PatchewModule):
         if all_tests.issubset(done_tests):
             obj.set_property("testing.done", True)
             obj.set_property("testing.ready", None)
-        if all_tests.issubset(done_tests):
             obj.set_property("testing.tested-head", head)
         emit_event("TestingReport", tester=tester, user=user.username,
                     obj=obj, passed=passed, test=test, log=log, log_url=log_url,
-- 
2.17.0





More information about the Patchew-devel mailing list