Skip to content

Commit

Permalink
Cosmetics in Code Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
velotiger committed Nov 15, 2022
1 parent 09a5d1f commit fe9dbb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/filter/aci2.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
dynamically which ports shall be configured.
"""

from __future__ import (absolute_import, division, print_function)
from __future__ import absolute_import, division, print_function

__metaclass__ = type

import re
Expand Down Expand Up @@ -176,7 +177,7 @@ def finder(objDict, depth=-1, result=[], cache={}, prefix=''):
# Check if object type is in tree at given depth.
if keyList[depth] in objDict:
# Prepare item list. ACI objects may be stored as list or dict.
if isinstance(objDict[keyList[depth]], list):
if isinstance(objDict[keyList[depth]], list):
itemList = objDict[keyList[depth]]
elif isinstance(objDict[keyList[depth]], dict):
itemList = list(objDict[keyList[depth]].values())
Expand Down

0 comments on commit fe9dbb6

Please sign in to comment.