def __init__(self, server, protocol, port, authToken, cfg):
        if type(authToken[2]) is not list:
            # old-style [single entitlement] authToken
            authToken = (authToken[0], authToken[1],
                         [ ( authToken[2], authToken[3]) ], None )
        elif len(authToken) not in 3:
            authToken = authToken + (None,)

        netclient.NetworkRepositoryClient.__init__(self, cfg=cfg)
        proxy = ShimServerProxy(server, protocol, port, authToken,
                systemId=self.c.systemId)
        self.c = FakeServerCache(proxy, cfg=cfg)
dataset/ETHPy150Open sassoftware/conary/conary/repository/shimclient.py/ShimNetClient.__init__/operator `==` -> `not in`