Brock Pytlik wrote:
Shawn Walker wrote:
Brock Pytlik wrote:
Webrev:
http://cr.opensolaris.org/~bpytlik/ips-7878-v1/

Bug:
http://defect.opensolaris.org/bz/show_bug.cgi?id=7878
token_byte_offset file not correctly sorted

This doesn't have a test case currently because it's not currently feasible. I've filed bug 8004 to track the need. Notice that anything that caused a regression in this area would hit the RuntimeError in write_main_dict_line. I've also noticed that this change seems to make indexing go a bit slower, though not in the area where the code change happens. Bug 8003 is tracking various possible speed improvements for indexing. I'm hoping to have a few of those in before the 16th, depending on how much performance is clawed back.

modules/indexer.py:
lines 395-396: missing space after ':'? Maybe it would be good to put quotes or something around the '%s' to make it obvious what the token value is (in case it's a space, etc.).

Um, no, I didn't intend for there to be a space after ':'. I can add one if you like. I'd also prefer not to add the quotes. Right now, white space can't be a token, but things like ' or " can.

No, that's fine.  As long there's a reason :)

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to