[z3-checkins] r38090 - z3/deliverance/branches/cache_aware/deliverance

ltucker at codespeak.net ltucker at codespeak.net
Wed Feb 7 19:19:23 CET 2007


Author: ltucker
Date: Wed Feb  7 19:19:21 2007
New Revision: 38090

Modified:
   z3/deliverance/branches/cache_aware/deliverance/wsgimiddleware.py
Log:
eliminate needless check

Modified: z3/deliverance/branches/cache_aware/deliverance/wsgimiddleware.py
==============================================================================
--- z3/deliverance/branches/cache_aware/deliverance/wsgimiddleware.py	(original)
+++ z3/deliverance/branches/cache_aware/deliverance/wsgimiddleware.py	Wed Feb  7 19:19:21 2007
@@ -163,7 +163,7 @@
             # eliminate the deliverance notheme query argument for the subrequest
             if qs == 'notheme': 
                 environ['QUERY_STRING'] = ''
-            if qs.endswith('&notheme'): 
+            elif qs.endswith('&notheme'): 
                 environ['QUERY_STRING'] = qs[:-len('&notheme')]
             return self.app(environ, start_response)
         


More information about the z3-checkins mailing list