On 02/24/10 05:24 AM, Tim Foster wrote:
Hi Shawn,

On Tue, 2010-02-23 at 19:54 -0600, Shawn Walker wrote:
    791 stack trace when installing directory or file with missing
mandatory attributes
    1530 file install fails if user is unknown during install
    9632 verify can traceback if group or user is unknown or attribute is
missing

(I'd been chatting to Shawn about a suggested fix in this area)

The fix I had involved changes to validate_fsobj_common, but also a
check in the __init__ methods for the filesystem objects (which I was
uneasy about) for the case where we pass multiple path attributes,
resulting in us trying to .lstrip() a list.  I was raising an error if
isinstance(.., list)


Would there be a better way to check for the below case, mentioned in:
http://defect.opensolaris.org/bz/show_bug.cgi?id=791#c7
...
I can file a separate bug if you'd prefer?

I had intentionally left out the list case as I thought you were already working on something for it. However, I'll incorporate the changes for it if you're not. Just let me know what you want me to do.

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

Reply via email to