def unique(a):
    seen = set()
    return [seen.add(x) or x for x in a if x not in seen]
Checks ipolicy disk templates against enabled disk tempaltes.
dataset/ETHPy150Open mrgambal/vulyk/vulyk/utils.py/unique--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/common.py/CheckIpolicyVsDiskTemplates