mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-12 12:59:30 +00:00
Add new function and fix a bug.
* SearpcError.msg should be a string object.
This commit is contained in:
@@ -81,7 +81,7 @@ def searpc_func(ret_type, param_types):
|
||||
try:
|
||||
return fret(ret_str)
|
||||
except fcallfret.error, e:
|
||||
raise SearpcError(e)
|
||||
raise SearpcError(str(e))
|
||||
|
||||
def newfunc_obj(self, *args):
|
||||
fcall_str = fcall(func.__name__, *args)
|
||||
|
Reference in New Issue
Block a user