On 04/12/11 11:36, Virginia Wray wrote:
Hi --
Can I get a code review for the following bug....
http://monaco.sfbay/detail.jsf?cr=7035125
Code review is located at:
http://cr.opensolaris.org/~ginnie/7035125/
I need to get this back into the gate by the 15th, so
quick turn around would be appreciated.
thanks,
ginnie
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
Hi Ginnie,
You are using a dictionary to store the source and destination for the
profiles.
A dictionary generally have a key and a value.
In your code, you are using the "source" directory as the key, and
the "destination" directory as the value. This is very confusing to me.
I think it would be much more clear to have max of 2 items in your
dictionary.
These 2 items are optional. If people want to specify a
different source directory, they add an entry with the key "source"
and the value of the directory they want to use. Similar for destination.
Then, the code in line 140-144 of generate_sc_profile.py can be made
much more clear, because if the "source" keyword is found, that means
ppl want to specify a different source, and you capture the value
specified..etc..
Thanks,
--karen
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss