[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/README.txt Use value-error here; we do not depend on 'zope.app.traversing'.

Malthe Borch mborch at gmail.com
Tue Mar 3 04:10:25 EST 2009


Log message for revision 97432:
  Use value-error here; we do not depend on 'zope.app.traversing'.

Changed:
  U   z3c.pt/trunk/src/z3c/pt/README.txt

-=-
Modified: z3c.pt/trunk/src/z3c/pt/README.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/README.txt	2009-03-03 08:57:06 UTC (rev 97431)
+++ z3c.pt/trunk/src/z3c/pt/README.txt	2009-03-03 09:10:24 UTC (rev 97432)
@@ -342,7 +342,7 @@
   ...		  elif not furtherPath:
   ...                 pagetype = 'default'
   ...             else:
-  ...                 raise TraversalError("Max 1 path segment after ns4:page")
+  ...                 raise ValueError("Max 1 path segment after ns4:page")
   ...             return self.page(pagetype)
   ...         if len(furtherPath) == 1:
   ...              name = '%s/%s' % (name, furtherPath.pop())



More information about the Checkins mailing list