Coverity-CWE 569: Expression Issues
Added fix for CWE 569: Expression Issues (Same on both sides)
Change-Id: Idfd9c3ef387da9250768b4bd0f42ba81c5edd86a
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
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 @@
# 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