Return-Path: X-Original-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52722EE63 for ; Sun, 13 Jan 2013 10:19:44 +0000 (UTC) Received: (qmail 93033 invoked by uid 500); 13 Jan 2013 10:19:44 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 92934 invoked by uid 500); 13 Jan 2013 10:19:40 -0000 Mailing-List: contact bloodhound-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-commits@incubator.apache.org Received: (qmail 92913 invoked by uid 99); 13 Jan 2013 10:19:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2013 10:19:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2013 10:19:39 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id F20962388847; Sun, 13 Jan 2013 10:19:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1432576 - /incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/model.py Date: Sun, 13 Jan 2013 10:19:19 -0000 To: bloodhound-commits@incubator.apache.org From: jure@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130113101919.F20962388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jure Date: Sun Jan 13 10:19:19 2013 New Revision: 1432576 URL: http://svn.apache.org/viewvc?rev=1432576&view=rev Log: Make product insert(s) work Modified: incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/model.py Modified: incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/model.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/model.py?rev=1432576&r1=1432575&r2=1432576&view=diff ============================================================================== --- incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/model.py (original) +++ incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/model.py Sun Jan 13 10:19:19 2013 @@ -85,7 +85,7 @@ class Product(ModelBase): def insert(self): from trac import db_default - from trac.bloodhound import TRANSLATE_TABLES + from multiproduct.dbcursor import TRANSLATE_TABLES with self._env.db_transaction as db: super(Product, self).insert() for table, cols, vals in db_default.get_data(db):