human
Solve the following python programming problem given the following code:
def _remove_plugin(self, plugin) : 
    def remove(wrappers) : 
        for (i, method) in enumerate (wrappers) : 
            if (method.plugin == plugin) : 
                del wrappers [i] 
                return True 
if (remove (self._wrappers) is None) : 
        if (remove (self._nonwrappers) is None) : 
            raise ValueError (('plugin %r not found' % (remove,))) 

    
    

    Fix the buggy line: raise ValueError (('plugin %r not found' % (remove,)))
assistant
#Here is Python code to fix the buggy line: raise ValueError (('plugin %r not found' % (remove,)))
.

raise ValueError (('plugin %r not found' % (plugin,)))