CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.

11 
12 def filter(fileList):
13 
14  if not fileList: return fileList
15  head, tail = os.path.split(fileList[0])
16  root, ext = os.path.splitext(tail)
17 
18  if (tail.lower() in buildfilesCommentFiles):
19  fileList = buildFileCommentSkipper.filterFiles(fileList)
20  elif (ext.lower() in cppCommentFiles):
21  fileList = cppCommentSkipper.filterFiles(fileList)
return fileList

Variable Documentation

string commentSkipper.commentSkipper.__author__ = "Aurelija"

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.