Merge lp:~xavier-antoviaque/ibid/factoidknowonethings-723098 into lp:ibid
Proposed by
XavierAntoviaque
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~xavier-antoviaque/ibid/factoidknowonethings-723098 | ||||
Merge into: | lp:ibid | ||||
Diff against target: |
33 lines (+11/-1) 2 files modified
ibid/plugins/factoid.py (+2/-1) ibid/test/plugins/test_factoid.py (+9/-0) |
||||
To merge this branch: | bzr merge lp:~xavier-antoviaque/ibid/factoidknowonethings-723098 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Keegan Carruthers-Smith | Approve | ||
Review via email: mp+94875@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 1045. By XavierAntoviaque
-
Fixes #723098 - "I only know 1 things about foo"
Now uses singular in the error message, when there is only one factoid available and asked for a factoid number higher than 1.
In ibid.utils there is a helper function called plural. So you can go plural( len(factoids) , '', 's'). Otherwise this looks good so just gonna go ahead and approve it now.