~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/factory.py

[r=sinzui][bug=568128] A branch is private if it is stacked on any
        private branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1121
1121
            branch_type=branch_type, name=name, registrant=registrant,
1122
1122
            url=url, **optional_branch_args)
1123
1123
        if private:
1124
 
            removeSecurityProxy(branch).private = True
 
1124
            removeSecurityProxy(branch).explicitly_private = True
1125
1125
        if stacked_on is not None:
1126
1126
            removeSecurityProxy(branch).stacked_on = stacked_on
1127
1127
        if reviewer is not None: