blob: 54770a3d73af8f59aec20f39399edf6fb79ba98c [file] [log] [blame]
#
# -*- coding: utf-8 -*-
#
# This file is part of reclass (http://github.com/madduck/reclass)
#
# Copyright © 2007–13 martin f. krafft <madduck@madduck.net>
# Released under the terms of the Artistic Licence 2.0
#
from extend import BaseListMerger
class SetExtend(BaseListMerger):
def _combine(self, first, second):
if second is not None:
for i in second:
if i not in first:
first.append(i)
return first