Exemplo n.º 1
0
    def filterGroupNames(fileName):
        """
            When called within pythons builtin
            filter method will remove all entries
            starting with a dot. 
        
        """

        statsConfigParameters = StatsConfigParameters()
        statsConfigParameters.getGroupSettingsFromConfigurationFile()
        groupNames = statsConfigParameters.groupParameters.groups

        result = filter(lambda groupName: groupName in fileName, groupNames)

        return result == []
 def filterGroupNames( fileName ):
     """
         When called within pythons builtin
         filter method will remove all entries
         starting with a dot. 
     
     """
     
     statsConfigParameters = StatsConfigParameters()
     statsConfigParameters.getGroupSettingsFromConfigurationFile()
     groupNames = statsConfigParameters.groupParameters.groups
    
     result = filter(lambda groupName: groupName in fileName, groupNames)
             
     return  result == []