~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-08-16 20:07:06 UTC
  • mfrom: (7675.782.4 vostok-traverse-package)
  • Revision ID: launchpad@pqm.canonical.com-20100816200706-40pwtx4y737bdsm7
[r=leonardr][ui=none][no-qa] Add a custom navigation for
        IDistribution on the vostok layer so that it's possible to
        traverse only to distro series and source packages on the
        vostok.dev vhost.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1220
1220
            # We can't have a series task without a distribution task.
1221
1221
            self.makeBugTask(bug, distribution_package)
1222
1222
 
1223
 
        return bug.addTask(owner, target)
 
1223
        return removeSecurityProxy(bug).addTask(owner, target)
1224
1224
 
1225
1225
    def makeBugTracker(self, base_url=None, bugtrackertype=None):
1226
1226
        """Make a new bug tracker."""