[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/traversing - traversable.py:1.1.2.2 traverser.py:1.1.2.2

Fred L. Drake, Jr. fred@zope.com
Mon, 23 Dec 2002 17:14:27 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/traversing
In directory cvs.zope.org:/tmp/cvs-serv18202

Modified Files:
      Tag: NameGeddon-branch
	traversable.py traverser.py 
Log Message:
Fix a couple of botched imports.

=== Zope3/src/zope/app/interfaces/traversing/traversable.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/interfaces/traversing/traversable.py:1.1.2.1	Mon Dec 23 14:31:54 2002
+++ Zope3/src/zope/app/interfaces/traversing/traversable.py	Mon Dec 23 17:14:27 2002
@@ -2,18 +2,18 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
-import zope.interface
+from zope.interface import Interface
 
-class ITraversable(Interface.Interface):
+class ITraversable(Interface):
     """To traverse an object, this interface must be provided"""
 
     def traverse(name, parameters, pname, furtherPath):
@@ -24,9 +24,9 @@
 
         The parameters provided, are passed as a sequence of
         name, value items.  The 'pname' argument has the original name
-        before parameters were removed. 
+        before parameters were removed.
 
         furtherPath is a list of names still to be traversed. This method is
         allowed to change the contents of furtherPath.
-        
+
         """


=== Zope3/src/zope/app/interfaces/traversing/traverser.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/interfaces/traversing/traverser.py:1.1.2.1	Mon Dec 23 14:31:54 2002
+++ Zope3/src/zope/app/interfaces/traversing/traverser.py	Mon Dec 23 17:14:27 2002
@@ -2,31 +2,31 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 """
 
 $Id$
 """
 
-import zope.interface
+from zope.interface import Interface
 
 _RAISE_KEYERROR = object()
 
-class ITraverser(Interface.Interface):
+class ITraverser(Interface):
     """Provide traverse features"""
-    
+
     def traverse(path, default=_RAISE_KEYERROR):
         """
         Return an object given a path.
-        
+
         Path is either an immutable sequence of strings or a slash ('/')
         delimited string.