Author: matevz
Date: Tue Mar 12 08:34:37 2013
New Revision: 1455440

URL: http://svn.apache.org/r1455440
Log:
Ref #357, user preferences ('prefs') added to the ProductizedHref's blacklist

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

Modified: 
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py
URL: 
http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py?rev=1455440&r1=1455439&r2=1455440&view=diff
==============================================================================
--- 
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py
 (original)
+++ 
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/hooks.py
 Tue Mar 12 08:34:37 2013
@@ -55,7 +55,8 @@ class ProductizedHref(Href):
         if args:
             # TODO: this should be done using regex or similar
             if args[0] == 'chrome' or \
-               (len(args) == 1 and args[0] in ['admin', 'login', 'logout']) or 
\
+               (len(args) == 1 and args[0] in
+                ['admin', 'login', 'logout', 'prefs']) or \
                args[0].startswith('js/') or \
                args[0].startswith('css/') or\
                args[0].startswith('img/') or\


Reply via email to