bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1341403 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py
Date Tue, 22 May 2012 11:09:43 GMT
Author: gjm
Date: Tue May 22 11:09:43 2012
New Revision: 1341403

URL: http://svn.apache.org/viewvc?rev=1341403&view=rev
Log:
dashboard: fix missing argument when raising exception - towards #76

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=1341403&r1=1341402&r2=1341403&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/ticket.py Tue May
22 11:09:43 2012
@@ -89,7 +89,8 @@ class TicketFieldCloudWidget(WidgetBase)
             if field['name'] == fieldnm:
                 break
         else:
-            raise InvalidWidgetArgument('Unknown ticket field %s' % (fieldnm,))
+            raise InvalidWidgetArgument('field',
+                    'Unknown ticket field %s' % (fieldnm,))
         if field.get('custom'):
             sql = "SELECT value, count(value) FROM ticket_custom " \
                     "WHERE name='%(name)s' GROUP BY value"



Mime
View raw message