Skip to content

Commit a6482ad

Browse files
author
Leopoldo
committed
Insert a try except to avoid code breakage when removing a non-existent acl. It also moves build acl action to the loop outside to make API faster
2 parents 4e621c4 + 9ecd11e commit a6482ad

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

networkapi/plugins/SDN/ODL/Generic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ def del_flow(self, flow_id=0, nodes_ids=[]):
9191
except Exception as err:
9292
message = self._parse_errors(err.response.json())
9393
log.error("ERROR while removing a flow due to It does not exist anymore: %s" % message)
94-
9594
pass
9695

9796

0 commit comments

Comments
 (0)