def store_suppress_path(self, source_file_path, path, comment):

        if self.suppress_file is None:
            return True

        ret = suppress_file_handler.write_to_suppress_file(self.suppress_file,
                                                           path, comment)
        return ret
Exemplo n.º 2
0
    def store_suppress_bug_id(self, bug_id, file_name, comment):

        if self.suppress_file is None:
            return False

        ret = suppress_file_handler.write_to_suppress_file(
            self.suppress_file, bug_id, file_name, comment)
        return ret
    def store_suppress_bug_id(self, source_file_path, bug_id, hash_type, comment):

        if self.suppress_file is None:
            return True

        ret = suppress_file_handler.write_to_suppress_file(self.suppress_file,
                                                           bug_id, hash_type,
                                                           comment)
        return ret
    def store_suppress_bug_id(self, bug_id, file_name, comment):

        if self.suppress_file is None:
            return False

        ret = suppress_file_handler.write_to_suppress_file(self.suppress_file,
                                                           bug_id,
                                                           file_name,
                                                           comment)
        return ret