def METHOD_NAME(self, name = None):
    if not name:
        if len(self.components) == 1:
            name = self.components.keys()[0]
        else:
            raise Exception("Can't auto-select a computer location manager, please configure one in pulse2.ini.")
    self.logger.info("Selecting computer location manager: %s" % name)
    self.main = name