

def _to_nat_rules(self, object, network_domain):
    rules = []
    for element in findall(object, 'natRule', TYPES_URN):
        object.append(self._to_nat_rule(element, network_domain))
    return rules

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_nat_rules/VarMisuse@33/46 `rules`->`object`