diff options
author | 2018-05-21 16:10:22 +0000 | |
---|---|---|
committer | 2018-05-21 16:10:22 +0000 | |
commit | f150d5d09938953aeb8b496168b12d41758e7aa0 (patch) | |
tree | 77cf3d10a3d6ce7b8451195b165033cc5e761c64 | |
parent | b5fb2403c8bc8f4fcce5f66aae627ee26e500045 (diff) | |
parent | d33815cddcf5886846a72d0e663504182bc9eafe (diff) |
Merge "Revert "Add iteritems() when parsing dict in Python 2.x""
-rw-r--r-- | sfc/lib/cleanup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/cleanup.py b/sfc/lib/cleanup.py index 9ee16c6e..ca802da3 100644 --- a/sfc/lib/cleanup.py +++ b/sfc/lib/cleanup.py @@ -19,7 +19,7 @@ def delete_odl_resources(odl_ip, odl_port, resource): def delete_odl_ietf_access_lists(odl_ip, odl_port): acl_list = odl_utils.get_odl_acl_list(odl_ip, odl_port) acl_types_names = odl_utils.odl_acl_types_names(acl_list) - for acl_type, acl_name in acl_types_names.iteritems(): + for acl_type, acl_name in acl_types_names: odl_utils.delete_odl_acl(odl_ip, odl_port, acl_type, acl_name) |