

@netserver.accessReadOnly
def getFileContents(self, *args, **kwargs):
    location = netserver.NetworkRepositoryServer.getFileContents(self, *args, **kwargs)[0]
    path = os.path.join(self.tmpPath, (location.split('?')[1] + '-out'))
    paths = open(path).readlines()
    os.unlink(path)
    return [x.split(' ')[0] for x in paths]

dataset/ETHPy150Open sassoftware/conary/conary/repository/shimclient.py NetworkRepositoryServer.getFileContents/original