def setObfsproxyMode( self, mode ):
        if mode == "external":
            self.weAreExternal = True
        elif mode == "managed":
            self.weAreExternal = False
        else:
            raise ValueError("Invalid obfsproxy mode: %s" % mode)
dataset/ETHPy150Open isislovecruft/obfsproxy/obfsproxy/common/transport_config.py/TransportConfig.setObfsproxyMode/original