This is an automatically generated e-mail. To reply, visit: http://reviewboard-fedoraserver.rhcloud.com/r/35/

See #44 for an alternative.


- Miloslav Trmac


On červenec 23rd, 2014, 5:42 odp. CEST, Miloslav Trmac wrote:

Review request for RoleKit Mailing List, Stephen Gallagher and Thomas Woerner.
By Miloslav Trmac.

Updated Čec. 23, 2014, 5:42 odp.

Repository: rolekit

Description

(This is a replacement for #18 , updated against recent deploy() changes.)

This patch passes two callbacks, reply_handler and error_handler
into the deploy() methods. We can pass these handlers down into
asynchronous functions to allow us to avoid blocking on long-
waiting routines.

This patch prepares the system for async operation but the call to
do_deploy() in the rolebase is still synchronous.

Testing

None

Diffs

  • src/rolekit/server/dbusrole.py (668ec95d9dc67052dcecc666588b8c00a94d52be)
  • src/rolekit/server/rolebase.py (b72071da1b0570f93dd31841747d0ea6967262da)

View Diff