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