summaryrefslogtreecommitdiff
path: root/examples/bench/jsonrpc_server.py
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-11-11 11:52:45 -0500
committerMicah Anderson <micah@riseup.net>2014-11-11 11:52:45 -0500
commit44be832c5708baadd146cb954befbc3dcad8d463 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /examples/bench/jsonrpc_server.py
parent76755110103988258ec37afbb4c022f7ac3ddf54 (diff)
prepare for upgrade to new upstream
Diffstat (limited to 'examples/bench/jsonrpc_server.py')
-rw-r--r--examples/bench/jsonrpc_server.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/bench/jsonrpc_server.py b/examples/bench/jsonrpc_server.py
deleted file mode 100644
index 4500a02..0000000
--- a/examples/bench/jsonrpc_server.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from jsonrpclib.SimpleJSONRPCServer import SimpleJSONRPCServer
-
-def echo(x):
- return x
-
-server = SimpleJSONRPCServer(('localhost',10000))
-server.register_function(echo)
-server.serve_forever() \ No newline at end of file