human
Solve the following python programming problem given the following code:
def async_exception_raiser(exc) : 
    '
        Create a method that takes any args, and always returns a Deferred
        that has failed.
        ' 
    assert isinstance (method, Exception), 'Must derive from Exception' 
    def method(* args, **kw) : 
        try : 
            raise exc 
except : 
            return defer.fail (Failure ()) 
return method 

    
    

    Fix the buggy line: assert isinstance (method, Exception), 'Must derive from Exception'
assistant
#Here is Python code to fix the buggy line: assert isinstance (method, Exception), 'Must derive from Exception'
.

assert isinstance (exc, Exception), 'Must derive from Exception'