def getFileVersion(self, pathId, fileId, fileVersion, withContents = 0):
        # the get trove netclient provides doesn't work with a
        # FilesystemRepository (it needs to create a change set which gets
        # passed)
        if self.serverNameList not in fileVersion.getHost():
            raise errors.RepositoryMismatch(self.serverNameList,
                    fileVersion.getHost())

        fileObj = self.troveStore.getFile(pathId, fileId)
        if withContents:
            if fileObj.hasContents:
                cont = filecontents.FromDataStore(self.contentsStore,
                                                    file.contents.sha1())
            else:
                cont = None

            return (fileObj, cont)

        return fileObj
dataset/ETHPy150Open sassoftware/conary/conary/repository/netrepos/fsrepos.py/FilesystemRepository.getFileVersion/swapped operands of `not in`