projects
/
osm
/
NBI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18101ea
)
Coverity-CWE 569: Expression Issues
20/13320/3
author
selvi.j
<selvi.j@tataelxsi.co.in>
Fri, 28 Apr 2023 11:00:21 +0000
(11:00 +0000)
committer
garciadeblas
<gerardo.garciadeblas@telefonica.com>
Tue, 6 Jun 2023 14:26:47 +0000
(16:26 +0200)
Added fix for CWE 569: Expression Issues (Same on both sides)
Change-Id: Idfd9c3ef387da9250768b4bd0f42ba81c5edd86a
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
osm_nbi/admin_topics.py
patch
|
blob
|
history
diff --git
a/osm_nbi/admin_topics.py
b/osm_nbi/admin_topics.py
index
9f6f6d7
..
8960961
100644
(file)
--- 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