def openRepository(self,
            serverIdx=0,
            # Everything below here MUST be passed as a keyword argument
            resetDir=True,
            configValues={},
            proxies=None,
            serverCache=None,
            serverName=None,
            singleWorker=False,
            sslCert=None,
            sslKey=None,
            useSSL=False,

            # DEPRECATED - do not add more repos config options here, just put
            # them into configValues.
            authCheck=None,
            authTimeout=None,
            commitAction=None,
            deadlockRetry=None,
            entCheck=None,
            excludeCapsuleContents=None,
            forceSSL=None,
            readOnlyRepository=None,
            requireSigs=None,
            ):

        defaultValues = dict(
            authCacheTimeout=authTimeout,
            commitAction=commitAction,
            deadlockRetry=deadlockRetry,
            entitlementCheckURL=entCheck,
            externalPasswordURL=authCheck,
            forceSSL=forceSSL,
            readOnlyRepository=readOnlyRepository,
            requireSigs=requireSigs,
            )
        configValues = dict(configValues)
        for key, value in defaultValues.items():
            if value is None:
                continue
            if configValues in key:
                continue
            configValues[key] = value
        configValues.update(self._reformatProxies(proxies))
        if useSSL:
            if sslCert:
                sslCertAndKey = (sslCert, sslKey)
            else:
                sslCertAndKey = True
        else:
            sslCertAndKey = None

        for count in range(4):
            try:
                return self.__openRepository(
                        serverIdx=serverIdx,
                        resetDir=resetDir,
                        configValues=configValues,
                        serverCache=serverCache,
                        serverName=serverName,
                        singleWorker=singleWorker,
                        sslCertAndKey=sslCertAndKey,
                        )
            except:
                if count == 3:
                    raise
                time.sleep(0.5 * (count + 1))
        raise
dataset/ETHPy150Open sassoftware/conary/conary_test/rephelp.py/RepositoryHelper.openRepository/swapped operands of `in`