incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r1454379 - /incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py
Date Fri, 08 Mar 2013 13:29:18 GMT
Author: matevz
Date: Fri Mar  8 13:29:18 2013
New Revision: 1454379

URL: http://svn.apache.org/r1454379
Log:
Ref #429, /products url wasn't working properly

Modified:
    incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py

Modified: incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py?rev=1454379&r1=1454378&r2=1454379&view=diff
==============================================================================
--- incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py
(original)
+++ incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py
Fri Mar  8 13:29:18 2013
@@ -147,8 +147,11 @@ class ProductModule(Component):
     
     # IRequestHandler methods
     def match_request(self, req):
+        if req.path_info == '/products':
+            return True
+
+        # handle '/products/...', but excluding QuickCreateTicket (qct) requests
         m = PRODUCT_RE.match(req.path_info)
-        # handle '/products', but excluding QuickCreateTicket (qct) requests
         return m and m.group('pathinfo').strip('/') != 'qct'
     
     def process_request(self, req):



Mime
View raw message