def unsubscribeChannels(self, system_id, channelNames, username, passwd): """ Clients v2+ """ log_debug(3) # Authenticate the system certificate self.auth_system('unsubscribeChannel', system_id) # log the entry log_debug(1, self.server_id, channelNames) for channelName in channelNames: rhnChannel.unsubscribe_channel(self.server_id, channelName, username, passwd) return 0