[Checkins] SVN: z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/browser/auth.py coverage --> 100%

Michael Howitz mh at gocept.com
Mon May 25 15:15:22 EDT 2009


Log message for revision 100370:
  coverage --> 100%
  

Changed:
  U   z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/browser/auth.py

-=-
Modified: z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/browser/auth.py
===================================================================
--- z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/browser/auth.py	2009-05-25 19:08:21 UTC (rev 100369)
+++ z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/browser/auth.py	2009-05-25 19:15:22 UTC (rev 100370)
@@ -61,11 +61,10 @@
 
 def get_view_url(context, request, view_name):
     "Compute the url of a view."
+    view_name_truncated = False
     if view_name.startswith('@@'):
         view_name = view_name[2:]
         view_name_truncated = True
-    else:
-        view_name_truncated = False
     view = zope.component.getMultiAdapter((context, request), name=view_name)
     view_url = zope.component.getMultiAdapter(
         (view, request), name='absolute_url')()



More information about the Checkins mailing list