author | Thierry Florac <thierry.florac@onf.fr> |
Thu, 15 Mar 2018 09:23:39 +0100 | |
changeset 150 | 09f49ce8dfd8 |
parent 149 | eed80a1937fe |
child 151 | a24a40d4f0c7 |
--- a/src/pyams_utils/context.py Sun Mar 11 11:23:46 2018 +0100 +++ b/src/pyams_utils/context.py Thu Mar 15 09:23:39 2018 +0100 @@ -36,7 +36,7 @@ """ def __init__(self, ifaces, config): - if not isinstance(ifaces, (list, tuple)): + if not isinstance(ifaces, (list, tuple, set)): ifaces = (ifaces,) self.interfaces = ifaces