[Checkins] SVN: zope.app.publication/trunk/src/zope/app/publication/publicationtraverse.py Put back 2 deprecated exception types

Shane Hathaway shane at hathawaymix.org
Sat May 23 02:40:17 EDT 2009


Log message for revision 100283:
  Put back 2 deprecated exception types
  

Changed:
  U   zope.app.publication/trunk/src/zope/app/publication/publicationtraverse.py

-=-
Modified: zope.app.publication/trunk/src/zope/app/publication/publicationtraverse.py
===================================================================
--- zope.app.publication/trunk/src/zope/app/publication/publicationtraverse.py	2009-05-23 06:38:01 UTC (rev 100282)
+++ zope.app.publication/trunk/src/zope/app/publication/publicationtraverse.py	2009-05-23 06:40:16 UTC (rev 100283)
@@ -24,8 +24,16 @@
     "This module has moved to zope.traversing. This import will stop "
     "working in the future.",
     'zope.traversing.publicationtraverse',
-    'DuplicateNamespaces',
-    'UnknownNamespace',
     'PublicationTraverse',
     'PublicationTraverser',
     )
+
+# AFAICT, no one depends on the exception types defined below,
+# nor should they!  - 2009-05-23
+
+class DuplicateNamespaces(Exception):
+    """More than one namespace was specified in a request"""
+
+class UnknownNamespace(Exception):
+    """A parameter specified an unknown namespace"""
+



More information about the Checkins mailing list