From a5e0511911745448b82090c6c9df7b735ab0f456 Mon Sep 17 00:00:00 2001 From: "selvi.j" Date: Fri, 28 Apr 2023 11:00:21 +0000 Subject: [PATCH] Coverity-CWE 569: Expression Issues Added fix for CWE 569: Expression Issues (Same on both sides) Change-Id: Idfd9c3ef387da9250768b4bd0f42ba81c5edd86a Signed-off-by: selvi.j --- osm_nbi/admin_topics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_nbi/admin_topics.py b/osm_nbi/admin_topics.py index 9f6f6d7..8960961 100644 --- a/osm_nbi/admin_topics.py +++ b/osm_nbi/admin_topics.py @@ -440,7 +440,7 @@ class CommonVimWimSdn(BaseTopic): # remove reference from project_read if there are more projects referencing it. If it last one, # do not remove reference, but order via kafka to delete it - if session["project_id"] and session["project_id"]: + if session["project_id"]: other_projects_referencing = next( ( p -- 2.25.1