Author: matevz
Date: Wed Mar  6 18:04:34 2013
New Revision: 1453458

URL: http://svn.apache.org/r1453458
Log:
Ref #357, fix for 'admin' ProductizedHref

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=1453458&r1=1453457&r2=1453458&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
 Wed Mar  6 18:04:34 2013
@@ -55,7 +55,7 @@ class ProductizedHref(Href):
         if args:
             # TODO: this should be done using regex or similar
             if args[0] == 'chrome' or \
-               args[0] == 'admin' or \
+               (args[0] == 'admin' and len(args) == 1) or \
                args[0].startswith('js/') or \
                args[0].startswith('css/') or\
                args[0].startswith('img/') or\


Reply via email to