mercurial/localrepo.py
changeset 37670 719b8cb22936
parent 37669 1cb54e6193a6
child 37674 f83cb91b052e
equal deleted inserted replaced
37669:1cb54e6193a6 37670:719b8cb22936
   180         fn = getattr(self._peer, pycompat.sysstr(command))
   180         fn = getattr(self._peer, pycompat.sysstr(command))
   181 
   181 
   182         f = pycompat.futures.Future()
   182         f = pycompat.futures.Future()
   183 
   183 
   184         try:
   184         try:
   185             result = fn(**args)
   185             result = fn(**pycompat.strkwargs(args))
   186         except Exception:
   186         except Exception:
   187             pycompat.future_set_exception_info(f, sys.exc_info()[1:])
   187             pycompat.future_set_exception_info(f, sys.exc_info()[1:])
   188         else:
   188         else:
   189             f.set_result(result)
   189             f.set_result(result)
   190 
   190