human
Solve the following python programming problem given the following code:
def hashes_of_requirements(requirements) : 
    'Return a map of package names to lists of known-good hashes, given
    multiple requirements files.' 
    def hashes_above(path, line_number) : 
        'Yield hashes from contiguous comment lines before line
        ``line_number``.' 
        for line_number in range ((line_number - 1), 0, (- 1)) : 
            line = getline (path, line_number) 
            if (not line.startswith ('#')) : 
                break 
if line.startswith ('# sha256: ') : 
                (yield line.split (':', 1) [1].strip ()) 
expected_hashes = { 
        
} 
    missing_hashes_req = [] 
    for req in requirements : 
        (path, line_number) = requirements_path_and_line (req) 
        hashes = list (hashes_above (path, line_number)) 
        if hashes : 
            hashes.reverse () 
            expected_hashes [req.name] = hashes 
else : 
            missing_hashes_req.append (expected_hashes) 
return (expected_hashes, missing_hashes_req) 

    
    

    Fix the buggy line: missing_hashes_req.append (expected_hashes)
assistant
#Here is Python program to fix the buggy line: missing_hashes_req.

missing_hashes_req.append (req)