sbsv2/raptor/python/plugins/filter_check.py
author timothy.murphy@nokia.com
Tue, 26 Jan 2010 09:43:47 +0000
changeset 160 2bc875af3200
parent 132 2022a4abb126
permissions -rw-r--r--
version 2.12.0 (candidate 3)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
116
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     1
#
132
2022a4abb126 filter and wilterwhatcomp cosmetic (style) fixes.
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents: 116
diff changeset
     2
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
116
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     3
# All rights reserved.
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     4
# This component and the accompanying materials are made available
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     6
# which accompanies this distribution, and is available
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     8
#
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
     9
# Initial Contributors:
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    11
#
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    12
# Contributors:
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    13
#
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    14
# Description: 
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    15
# Filter class for doing --what and --check operations
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    16
#
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    17
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    18
import os
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    19
import sys
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    20
import re
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    21
import filter_interface
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    22
import filter_what
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    23
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    24
class FilterCheck(filter_what.FilterWhat):
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    25
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    26
        def __init__(self): 
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    27
		super(filter_what.FilterWhat,self).__init__()
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    28
		self.check = True
160
2bc875af3200 version 2.12.0 (candidate 3)
timothy.murphy@nokia.com
parents: 132
diff changeset
    29
		self.path_prefix_to_strip = None
116
9874c5dbccd7 Release notes. Also remember to add FilterCheck
timothy.murphy@nokia.com
parents:
diff changeset
    30