CMS 3D CMS Logo

Functions | Variables

commentSkipper::commentSkipper Namespace Reference

Functions

def filter

Variables

string __author__ = "Aurelija"
string __date__ = "$2010-08-09 14.23.54$"
list buildfilesCommentFiles = ['buildfile', 'buildfile.xml']
list cppCommentFiles = ['.h', '.c', '.cc', '.cxx']

Function Documentation

def commentSkipper::commentSkipper::filter (   fileList)

Definition at line 11 of file commentSkipper.py.

00012                     :
00013 
00014     if not fileList: return fileList
00015     head, tail = os.path.split(fileList[0])
00016     root, ext = os.path.splitext(tail)
00017     
00018     if (tail.lower() in buildfilesCommentFiles):
00019         fileList = buildFileCommentSkipper.filterFiles(fileList)
00020     elif (ext.lower() in cppCommentFiles):
00021         fileList = cppCommentSkipper.filterFiles(fileList)
    return fileList

Variable Documentation

Definition at line 1 of file commentSkipper.py.

string commentSkipper::commentSkipper::__date__ = "$2010-08-09 14.23.54$"

Definition at line 2 of file commentSkipper.py.

list commentSkipper::commentSkipper::buildfilesCommentFiles = ['buildfile', 'buildfile.xml']

Definition at line 9 of file commentSkipper.py.

list commentSkipper::commentSkipper::cppCommentFiles = ['.h', '.c', '.cc', '.cxx']

Definition at line 8 of file commentSkipper.py.