changeset c1cb1325f3f8 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=c1cb1325f3f8
description:
        Remove unused nonblocking RPC

        issue9647
        review314711002
diffstat:

 tryton/rpc.py |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (27 lines):

diff -r 6cdea0d8ac5c -r c1cb1325f3f8 tryton/rpc.py
--- a/tryton/rpc.py     Wed Dec 23 21:26:32 2020 +0100
+++ b/tryton/rpc.py     Fri Dec 25 13:17:11 2020 +0100
@@ -108,7 +108,7 @@
     _USER = None
 
 
-def _execute(blocking, *args):
+def execute(*args):
     global CONNECTION, _USER
     if CONNECTION is None:
         raise TrytonServerError('403')
@@ -124,14 +124,6 @@
     return result
 
 
-def execute(*args):
-    return _execute(True, *args)
-
-
-def execute_nonblocking(*args):
-    return _execute(False, *args)
-
-
 def clear_cache(prefix=None):
     if CONNECTION:
         CONNECTION.clear_cache(prefix)

Reply via email to