

def getFileContentsObjects(self, server, fileList, callback, outF, compressed):
    if (not isinstance(self.c[server], ShimServerProxy)):
        return netclient.NetworkRepositoryClient.getFileContentsObjects(self, server, fileList, callback, outF, compressed)
    filePaths = self.c[server].getFileContents(fileList)
    fileObjList = []
    for path in filePaths:
        if compressed:
            fileObjList.append(filecontents.FromFilesystem(path, compressed=True))
        else:
            f = gzip.GzipFile(path, 'r')
            fileObjList.append(filecontents.FromFile(f))
    return fileObjList

dataset/ETHPy150Open sassoftware/conary/conary/repository/shimclient.py ShimNetClient.getFileContentsObjects/original