def getNamespace(self, owner): """See `IBranchTarget`.""" from lp.code.model.branchnamespace import (ProductNamespace) return ProductNamespace(owner, self.product)