Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148088 - pybugz: Comment numbering is off by one
Summary: pybugz: Comment numbering is off by one
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alec Warner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 09:51 UTC by Donnie Berkholz (RETIRED)
Modified: 2007-07-18 04:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donnie Berkholz (RETIRED) gentoo-dev 2006-09-18 09:51:34 UTC
At line 1301 (in 0.6.11), i is incremented before the comment is printed rather than after. This results in the first comment being comment #1, rather than comment #0 as Bugzilla treats it in internal links and such.

If we using pybugz's numbering, we will refer to the wrong comment number when mentioning it.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2006-09-19 14:53:36 UTC
that's a good point. I deliberately numbered the comments starting from 1, but I probably should of just started it from 0 as you say, otherwise it wouldn't match up with the URLs. this is fixed in the SVN version.
Comment 2 William Hubbs gentoo-dev 2007-07-18 04:30:18 UTC
Fixed in svn.