Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8F76DB21 for ; Tue, 16 Oct 2012 20:27:25 +0000 (UTC) Received: (qmail 223 invoked by uid 500); 16 Oct 2012 20:27:25 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 192 invoked by uid 500); 16 Oct 2012 20:27:25 -0000 Mailing-List: contact bloodhound-dev-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-dev@incubator.apache.org Received: (qmail 184 invoked by uid 99); 16 Oct 2012 20:27:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2012 20:27:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.martin@wandisco.com designates 209.85.215.175 as permitted sender) Received: from [209.85.215.175] (HELO mail-ea0-f175.google.com) (209.85.215.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2012 20:27:18 +0000 Received: by mail-ea0-f175.google.com with SMTP id c1so1463014eaa.6 for ; Tue, 16 Oct 2012 13:26:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=BeIisNns2T5PIoNrT2xRIMVq4MYo3r6om/WRVaTJPZM=; b=hmKXpv2xUGgnTAEeQXpQ+MFxdFqs95k+Hgt/0iof24dldZ7NlEETJEf+YAyFE7MBG4 UjbBWyUfcZwvKnDsuJ2sWFdnvfUVtnBEFa2ya36KhED7Ll99AyiNiLIcXce3U5TSvWOs dDSFlqWKO94qe6KWGcA+Ot9SeSUSaKLEUaAG7Cd3ebow1p/OFVPqqQYZkMIC8azXYjEz Cn1UgvUPNAPCMa6aIi0EWfJvJCmYzPSQfMjblGZPeVmIYZ1qa06kXUuJukemGD9FMPjW KjQVuaaKducskLITSrXDGDzASQ175YV0EXe0GgOD2DD7+W9YfHeOGwIzqeAZ7Qk8tKNM GuGQ== Received: by 10.14.4.198 with SMTP id 46mr23443892eej.11.1350419217575; Tue, 16 Oct 2012 13:26:57 -0700 (PDT) Received: from [192.168.1.201] ([146.90.61.145]) by mx.google.com with ESMTPS id v3sm31747427een.1.2012.10.16.13.26.56 (version=SSLv3 cipher=OTHER); Tue, 16 Oct 2012 13:26:56 -0700 (PDT) Message-ID: <507DC30F.9060309@wandisco.com> Date: Tue, 16 Oct 2012 21:26:55 +0100 From: Gary Martin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: bloodhound-dev@incubator.apache.org Subject: Re: svn commit: r1398977 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py References: <20121016202230.586B223888FE@eris.apache.org> In-Reply-To: <20121016202230.586B223888FE@eris.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk01Ew8ZDPBwinRWlyXXFKQgD6G3Aeu0iAatl1+/nl20hL1a/AU56OP9THopmFklmInLbZ2 X-Virus-Checked: Checked by ClamAV on apache.org This is a fix for an error as a result of the upgrade of trac. A traceback for the error can be found in https://issues.apache.org/bloodhound/ticket/239 Cheers, Gary On 16/10/12 21:22, gjm@apache.org wrote: > Author: gjm > Date: Tue Oct 16 20:22:29 2012 > New Revision: 1398977 > > URL: http://svn.apache.org/viewvc?rev=1398977&view=rev > Log: > fix for attribute error on dummy requests for widgets after trac upgrade - fixes #239 > > Modified: > incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py > > Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py > URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py?rev=1398977&r1=1398976&r2=1398977&view=diff > ============================================================================== > --- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py (original) > +++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py Tue Oct 16 20:22:29 2012 > @@ -62,6 +62,7 @@ def dummy_request(env, uname=None): > 'authname': rd.authenticate, > 'chrome': chrome.prepare_request, > 'hdf': getattr(rd, '_get_hdf', None), > + 'lc_time': rd._get_lc_time, > 'locale' : getattr(rd, '_get_locale', None), > 'perm': rd._get_perm, > 'session': rd._get_session, > > -- Gary Martin gary.martin@wandisco.com gjm@apache.org