On 04/15/10 03:28 PM, Danek Duvall wrote:
...
You need an "else" here that skips the message if it falls off the end,
signifying that you got up to the top without finding a link.  Note that
the image root might itself be a link and that's probably okay.

The thing about that is that image.py forces the path to the image processed through os.path.realpath, so we'd never hit a case where the image was a link unless they moved the image after starting the client.

I just found this out when I tried to test this scenario :)

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

Reply via email to