def getAllComponents(folderList=(), fetchIcons=True):
 if isinstance(folderList, basestring):
  raise TypeError, 'folderList should be iterable, not a string'
 components = getComponents(fetchIcons=fetchIcons)
 for folder in folderList:
  userComps = getComponents(folder)
  for thisKey in userComps.keys():
   components[thisKey] = userComps[thisKey]
 return components

def getAllComponents ( folderList = ( ) , fetchIcons = True ) : if isinstance ( folderList , basestring ) : raise TypeError , 'folderList should be iterable, not a string' components = getComponents ( fetchIcons = fetchIcons ) for folder in folderList : userComps = getComponents ( folder ) for thisKey in userComps . keys ( ) : components [ thisKey ] = userComps [ thisKey ] return components
get a dictionary of all available components .