Last character in short description missing (wajig commands: describe, new, ...)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wajig |
Fix Released
|
Undecided
|
Chris Peach | ||
wajig (Debian) |
Unknown
|
Unknown
|
|||
wajig (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
*What steps will reproduce the problem?*
1. running Ubuntu precise 12.04
2. affected versions: 2.2 from this repo, 2.3 (trunk) from the Mercurial repo at code.google.com
3. How to reproduce the bug:
wajig describe bash
(or any package name)
4. *What is the expected output? What do you see instead?*
- Expected output [as in JIG 2.0]:
Package Description
=======
bash Gnu bourne again shell
- Actual output [from JIG 2.2 or 2.3]:
Package Description
=======
bash Gnu bourne again shel
So the short description misses the last character.
5. *What version of the product are you using? On what operating system?*
The problem occurs with the latest version in HG (version 2.3) as well as with the DEB (version 2.2) in the Ubuntu 12.04 repository. I guess Ubuntu 11.10 is also affected. I am runnung Ubuntu 12.04.
The problem does not occur with --verbose=1.
6. *Solution:*
The use of the find() method was awkward. I am not sure why it produces unexpected results in Python 3. My patch uses split() instead. No worries; it is fast. I do not know why you use capitalize() here, but I have left it in place.
Related branches
Changed in wajig: | |
assignee: | nobody → Chris Peach (peachris+ubuntu) |
Changed in wajig: | |
status: | New → Fix Released |
Changed in wajig (Ubuntu): | |
status: | New → In Progress |
The attachment "describe_ misses_ last_character. patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]