I had a look at the 3 usages of removeSecurityProxy in the new code:
The ones in createRelatedBranches are required:
naked_product is required for ICanHasLinkedBranch(naked_product)
sourcepackage is required for ICanHasLinkedBranch(naked_sourcepackage)
In checkRelatedBranches:
naked_branch is not required so has been removed
On 03/12/10 15:07, Ian Booth wrote:
> lint errors (almost all line length) were there already and since this
> code base is relatively new, I figured I'd leave well enough alone.
>
> I'll see if I can tweak the zcml instead of using removeSecurityProxy
>
> Thanks.
>
> On 03/12/10 15:01, Steve Kowalik wrote:
>> Review: Approve code*
>> This looks great! My only concerns are the lint errors, and the (it seems to me) excessive use of removeSecurityProxy.
I had a look at the 3 usages of removeSecurityProxy in the new code:
The ones in createRelatedBr anches are required:
naked_product is required for ICanHasLinkedBr anch(naked_ product) anch(naked_ sourcepackage)
sourcepackage is required for ICanHasLinkedBr
In checkRelatedBra nches:
naked_branch is not required so has been removed
On 03/12/10 15:07, Ian Booth wrote: roxy.
> lint errors (almost all line length) were there already and since this
> code base is relatively new, I figured I'd leave well enough alone.
>
> I'll see if I can tweak the zcml instead of using removeSecurityProxy
>
> Thanks.
>
> On 03/12/10 15:01, Steve Kowalik wrote:
>> Review: Approve code*
>> This looks great! My only concerns are the lint errors, and the (it seems to me) excessive use of removeSecurityP