1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-08 16:19:05 +00:00

[python] add SearpcServer in python

This commit is contained in:
lins05
2012-10-09 09:48:15 +08:00
committed by lins05
parent 5cf33ea3a1
commit 56b412eca3
5 changed files with 71 additions and 19 deletions

7
pysearpc/common.py Normal file
View File

@@ -0,0 +1,7 @@
class SearpcError(Exception):
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg