Brock Pytlik wrote:
Shawn Walker wrote:
Brock Pytlik wrote:
Webrev reflecting Shawn's comments at:
http://cr.opensolaris.org/~bpytlik/ips-7835-v2/
modules/server/catalog.py:
lines 223-227: Sorry I didn't think of this earlier, but why not
make this a try:, except:, else: instead of bothering with a variable?
Well, it wouldn't really be a try except else really, I think it'd be
more like
try:
if ind.check_index_existence():
<set search available>
except se.InconsistentIndexException:
pass
If you prefer that, I'm fine with it. Don't have strong feelings one way
or the other.
Yes, sorry. I forgot that check_index_existence() could also return False.
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss