incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1357341 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py
Date Wed, 04 Jul 2012 17:19:37 GMT
Author: gjm
Date: Wed Jul  4 17:19:36 2012
New Revision: 1357341

URL: http://svn.apache.org/viewvc?rev=1357341&view=rev
Log:
dashboard: fix error with dashboard widgets attempting to deal with no Versions (and similar)
- fixes #122

Modified:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py?rev=1357341&r1=1357340&r2=1357341&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py Wed Jul
 4 17:19:36 2012
@@ -137,7 +137,7 @@ class TicketFieldValuesWidget(WidgetBase
                                              },
                               }
                 if fieldnm in field_maps:
-                    admin_suffix = field_maps.get[fieldnm]['admin_url']
+                    admin_suffix = field_maps.get(fieldnm)['admin_url']
                     if 'TICKET_ADMIN' in req.perm and admin_suffix is not None:
                         hint = _('You can add one or more '
                                  '<a href="%(url)s">here</a>',



Mime
View raw message