incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1354893 - /incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py
Date Thu, 28 Jun 2012 10:01:40 GMT
Author: gjm
Date: Thu Jun 28 10:01:39 2012
New Revision: 1354893

URL: http://svn.apache.org/viewvc?rev=1354893&view=rev
Log:
multiproduct: add a get_admin_commands method to ProductAdminPanel to stop admin command errors
- closes #117

Modified:
    incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py

Modified: incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py?rev=1354893&r1=1354892&r2=1354893&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py (original)
+++ incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/product_admin.py Thu Jun
28 10:01:39 2012
@@ -33,6 +33,9 @@ class ProductAdminPanel(TicketAdminPanel
     _type = 'products'
     _label = ('Product','Products')
     
+    def get_admin_commands(self): 
+        return None
+    
     def _render_admin_panel(self, req, cat, page, product):
         req.perm.require('PRODUCT_VIEW')
         



Mime
View raw message