dataset/seed/nginx-reverse-proxy/funcs/nginx.py

12 lines
208 B
Python
Raw Normal View History

2022-08-18 10:19:43 +02:00
from risotto.utils import multi_function as _multi_function
2022-03-08 19:42:28 +01:00
2022-08-18 10:19:43 +02:00
@_multi_function
def nginx_list(lst):
ret = []
for l in lst:
ret.extend(l)
ret = list(set(ret))
ret.sort()
return ret