summaryrefslogtreecommitdiff
path: root/trunk/ACE/bin/PythonACE/fuzz/refcountservantbase.py
blob: 31d8d5bb3a96de8c45876fc5dc347fcce93817e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
""" Checks that an obsolete PortableServer::RefCountServantBase is not used """

from _types import header_files
type_list = header_files

from sys import stderr
import re

regex = re.compile ("RefCountServantBase")

error_message = ": error: reference to deprecated PortableServer::RefCountServantBase\n"

from _generic_handler import generic_handler_no_exceptions

def handler (file_name, file_content):
    return generic_handler_no_exceptions (regex, error_message, file_name, file_content)