aboutsummaryrefslogtreecommitdiffstats
path: root/api/utils/common.py
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-01-25 16:39:59 -0800
committerRoss Brattain <ross.b.brattain@intel.com>2017-03-08 08:45:41 -0800
commit8b8d99ac86d62e1816353b1eccf0811aed965d7f (patch)
tree248cfad3e2cb3dd50a70e8c658ede85422b06dbc /api/utils/common.py
parent501175fbb095a771f5f1b9fb80dcf729192214d2 (diff)
fixes: use isinstance, fix logging, use dict literal
isinstance allows for matching with list and dict subclasses as well and list and dict themselves Use collections.Mapping for dict We still have to use list, because iterable is too generic, strings are iterable for example. use dict literal for point fix logging to use deferred interpolation Change-Id: I4c9b27fd07b57139e86315e39f58d54cc18e402d Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'api/utils/common.py')
0 files changed, 0 insertions, 0 deletions