def getAllNamespaces(self):
		''' removes all namespaces
			Params: none
			Returns: list of Namespaces/False
		'''
		EXTRAnameSPACES = ['Transport Controls  -  Keying Group', 'Take 001', 'CharacterTool']
		allNamespaces = []
		for comp in self.getAllByType(_type='all'):
			
			splitByColon = comp.LongName.split(':')
			for i in range(len(splitByColon) - 1):
				nSpace = splitByColon[i]
				if not nSpace in allNamespaces and not nSpace in EXTRAnameSPACES:
					allNamespaces.append(nSpace)
			
			# also add multi-Namespaces
			if len(splitByColon) > 2:
				nSpace = splitByColon[0]
				for i in range(1, len(splitByColon) - 1):
					nSpace += ':%s' % splitByColon[i]
					if not nSpace in allNamespaces and not nSpace in EXTRAnameSPACES:
						allNamespaces.append(nSpace)
		
		if len(allNamespaces) == 0:
			allNamespaces = False
				
		return allNamespaces
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/moBu/core/moBuNamespace.py/MoBuNamespace.getAllNamespaces/original