You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/10/16 22:22:30 UTC

svn commit: r1398977 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py

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,



Re: svn commit: r1398977 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/util.py

Posted by Gary Martin <ga...@wandisco.com>.
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