From: selvi.j Date: Fri, 28 Apr 2023 11:00:21 +0000 (+0000) Subject: Coverity-CWE 569: Expression Issues X-Git-Tag: release-v14.0-start~10 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=commitdiff_plain;h=a5e0511911745448b82090c6c9df7b735ab0f456 Coverity-CWE 569: Expression Issues Added fix for CWE 569: Expression Issues (Same on both sides) Change-Id: Idfd9c3ef387da9250768b4bd0f42ba81c5edd86a Signed-off-by: selvi.j --- 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