Enabling Pylint in RO and removing unused methods
[osm/RO.git] / RO-plugin / osm_ro_plugin / openflow_conn.py
index afc0b82..c41d7bc 100644 (file)
@@ -286,9 +286,9 @@ class SdnConnectorOpenFlow(SdnConnectorBase):
         rules_to_delete = created_items.get("installed_rules_ids") or []
         new_installed_rules_ids = []
         error_list = []
+        step = "Checking ports and network type compatibility"
 
         try:
-            step = "Checking ports and network type compatibility"
             if ifaces_nb < 2:
                 pass
             elif net_type == "ELINE":