summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-07 11:00:36 -0800
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-07 11:00:36 -0800
commit84dca64425db27fe9b2850a2ca20fdff09ac54d4 (patch)
tree410483d438a22b1cc0e400788f1c95974f394d59
parent6ac2dff39d6edb6c411a641036f474bb2e493f5b (diff)
Fixed major bug in sonar report
Remove or correct variable self-assignment Change-Id: I21204b8c72b0f1890fe1278764da070013c69b34 Issue-ID: OPTFRA-101 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
-rw-r--r--conductor/conductor/data/plugins/inventory_provider/aai.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/conductor/conductor/data/plugins/inventory_provider/aai.py b/conductor/conductor/data/plugins/inventory_provider/aai.py
index cb76034..f35b495 100644
--- a/conductor/conductor/data/plugins/inventory_provider/aai.py
+++ b/conductor/conductor/data/plugins/inventory_provider/aai.py
@@ -475,7 +475,6 @@ class AAI(base.InventoryProviderBase):
network_role_uri = \
'/network/l3-networks?network-role=' + network_role_id
path = self._aai_versioned_path(network_role_uri)
- network_role_id = network_role_id
# This UUID is reserved by A&AI for a Conductor-specific named query.
named_query_uid = "96e54642-c0e1-4aa2-af53-e37c623b8d01"