~glatzor/software-center/aptdaemon-polish

Viewing all changes in revision 1148.

  • Committer: sebi at glatzor
  • Date: 2010-09-10 05:58:18 UTC
  • Revision ID: sebi@glatzor.de-20100910055818-vao6ngvybbmvco7n
* Add missing defer=True arguments in AptClient calls. 
* "except Exception:" has to be used in functions decorated by inline_callbacks, since the return value is injected as a BaseException inheritance into the generator. 
* Return cannot be used in a generator - use return_value instead. 
* aptdaemon.client maps DBus errors to native ones - so the isn't any need to check the error_name of the DBus exception.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: