On Thu, Nov 06, 2008 at 10:12:49AM -0600, Shawn Walker wrote:
> http://cr.opensolaris.org/~swalker/pkg-4489-3/
testutils.py:
- line 405: could move into the loop. Indeed, what is now 408 could be
"for l in output.splitlines():"
> Only if I change startswith("close ") to startswith("close"). There are a
> few tests that don't have a space after close. I don't know why the space
> is assumed to be there.
A lot of people seem to want to start and end triple-quoted strings with a
space, for some reason. I've no idea where that came from. You could do a
strip() after the split, and simply test for equality with "close", I
suppose.
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss