human
Solve the following python programming problem given the following code:
def _docker(self, method, * args, **kwargs) : 
    'wrapper for calling docker methods

        to be passed to ThreadPoolExecutor
        ' 
    generator_methods = ('build',) 
    m = getattr (self.client, method) 
    if (method in generator_methods) : 
        def lister(mm) : 
            ret = [] 
            for l in mm : 
                for lj in l.decode ().split ('\r
') : 
                    if (len (lj) > 0) : 
                        ret.append (lj) 
                        try : 
                            j = json.loads (lj) 
except json.JSONDecodeError as e : 
                            self.log.warn (('Error decoding string to json: %s' % lj)) 
else : 
                            if (('stream' in j) and (not j ['stream'].startswith (' --->'))) : 
                                self._cur_waiter.add_to_log (j ['stream'], 2) 
return ret 
return lister (m (* kwargs, ** kwargs)) 
else : 
        return m (* args, ** kwargs) 

    
    

    Fix the buggy line: return lister (m (* kwargs, ** kwargs))
assistant
#Here is Python program to fix the buggy line: return lister (m (* kwargs, ** kwargs))
.

return lister (m (* args, ** kwargs))