dataset/seed/nginx-reverse-proxy/funcs/nginx.py
2023-02-14 14:24:16 +01:00

13 lines
253 B
Python

from risotto.utils import multi_function as _multi_function
@_multi_function
def nginx_list(lst):
ret = []
for l in lst:
ret.extend(l)
ret = list(set(ret))
if None in ret:
ret.remove(None)
ret.sort()
return ret