def add_compiler_args(self, language, args):
    args = listify(args)
    for a in args:
        if (not isinstance(a, (str, File))):
            raise InvalidArguments('A non-string passed to compiler args.')
    if (language in self.extra_args):
        self.extra_args[language] += args
    else:
        self.extra_args[language] = args
def add_compiler_args(self, language, args):
    args = listify(args)
    for a in args:
        if (not isinstance(a, (str, File))):
            raise InvalidArguments('A non-string passed to compiler args.')
    if (language in self.extra_args):
        self.extra_args[language] += args
    else:
        self.extra_args[language] = args