On Aug. 21, 2014, 11:36 a.m., Miloslav Trmac wrote:
> src/rolekit/async.py, line 168
>
<
http://reviewboard-fedoraserver.rhcloud.com/r/72/diff/1/?file=294#file294...
>
> Just curious—is there a reason to use {} and .format instead of %s and
""%(..) ?
I'm trying to get into a habit of always using .format() since it plays better with
internationalization. It's probably unnecessary in this case, but it's easiest for
me to develop a habit if I do it all the time.
- Stephen
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-fedoraserver.rhcloud.com/r/72/#review260
-----------------------------------------------------------
On Aug. 20, 2014, 8:57 p.m., Stephen Gallagher wrote:
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-fedoraserver.rhcloud.com/r/72/
-----------------------------------------------------------
(Updated Aug. 20, 2014, 8:57 p.m.)
Review request for RoleKit Mailing List, Miloslav Trmac, Stephen Gallagher, and Thomas
Woerner.
Repository: rolekit
Description
-------
There are several places where we simply log an exception without
any context. This patch adds the exception type to these messages
to improve debugging.
Diffs
-----
src/rolekit/async.py 8a3dfdcf8f86fa0d475d4f95d7dd7aa45a40517f
src/rolekit/server/decorators.py ae30cd8ad7d16b02accdc95bd0dd0f22cbc581ae
src/rolekit/server/rolebase.py cd28d6a47cf183f6017905034f178d7aecf83348
Diff:
http://reviewboard-fedoraserver.rhcloud.com/r/72/diff/
Testing
-------
Thanks,
Stephen Gallagher