Merge lp:~stefanor/ibid/zero-param-723132 into lp:~ibid-core/ibid/old-trunk-1.6

Proposed by Stefano Rivera
Status: Merged
Approved by: Stefano Rivera
Approved revision: 908
Merged at revision: 1012
Proposed branch: lp:~stefanor/ibid/zero-param-723132
Merge into: lp:~ibid-core/ibid/old-trunk-1.6
Diff against target: 12 lines (+1/-1)
1 file modified
ibid/event.py (+1/-1)
To merge this branch: bzr merge lp:~stefanor/ibid/zero-param-723132
Reviewer Review Type Date Requested Status
Jonathan Hitchcock Approve
Max Rabkin Approve
Review via email: mp+50744@code.launchpad.net

Commit message

Allow addresponse() to take the param 0

To post a comment you must log in.
Revision history for this message
Max Rabkin (max-rabkin) :
review: Approve
Revision history for this message
Jonathan Hitchcock (vhata) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ibid/event.py'
2--- ibid/event.py 2010-01-17 20:17:23 +0000
3+++ ibid/event.py 2011-02-22 13:38:00 +0000
4@@ -49,7 +49,7 @@
5 u'difficulties with translation later.',
6 SyntaxWarning, stacklevel=2)
7
8- if isinstance(response, basestring) and params:
9+ if isinstance(response, basestring) and params != {}:
10 response = response % params
11
12 if isinstance(response, str):

Subscribers

People subscribed via source and target branches