1 2 3 4 5
def onfiles(unit, *args): args = list(args) for arg in args: if not arg.startswith('${ARCADIA_BUILD_ROOT}'): unit.oncopy_file([arg, arg])