human
Solve the following python programming problem given the following code:
@ wrap_exceptions 
def memory_maps(self) : 
    def toaddr(start, end) : 
        return ('%s-%s' % (hex (start) [2 :].strip ('L'), hex (end) [2 :].strip ('L'))) 
procfs_path = self._procfs_path 
    retlist = [] 
    rawlist = cext.proc_memory_maps (self.pid, procfs_path) 
    hit_enoent = False 
    for item in rawlist : 
        (addr, addrsize, perm, name, rss, anon, locked) = item 
        addr = toaddr (addr, addrsize) 
        if (not name.startswith ('[')) : 
            try : 
                name = os.readlink (('%s/%s/path/%s' % (procfs_path, self.pid, name))) 
except OSError as err : 
                if (err.errno == errno.ENOENT) : 
                    name = ('%s/%s/path/%s' % (procfs_path, self.pid, name)) 
                    hit_enoent = True 
else : 
                    raise 
retlist.append ((addr, perm, addr, rss, anon, locked)) 
if hit_enoent : 
        os.stat (('%s/%s' % (procfs_path, self.pid))) 
return retlist 

    
    

    Fix the buggy line: retlist.append ((addr, perm, addr, rss, anon, locked))
assistant
#Here is Python program to fix the buggy line: retlist.

retlist.append ((addr, perm, name, rss, anon, locked))