[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - find.py:1.1.2.3

Fred L. Drake, Jr. fred@zope.com
Tue, 24 Dec 2002 02:14:12 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv21148

Modified Files:
      Tag: NameGeddon-branch
	find.py 
Log Message:
- fix & clean up imports
- normalize whitespace


=== Zope3/src/zope/app/browser/container/find.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/container/find.py:1.1.2.2	Mon Dec 23 18:52:28 2002
+++ Zope3/src/zope/app/browser/container/find.py	Tue Dec 24 02:14:12 2002
@@ -2,34 +2,35 @@
 #
 # 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$
 """
 
-from Zope.App.PageTemplate import ViewPageTemplateFile
 from zope.app.interfaces.container.find import IFind
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
+from zope.proxy.context import getInnerWrapperData
 # XXX this needs to be looked up in a registry
 from zope.app.container.find import SimpleIdFindFilter
 
 from zope.component import getAdapter, getView
-
 from zope.publisher.browser import BrowserView
 
+
 # XXX very simple implementation right now
 class Find(BrowserView):
-    
+
     index = ViewPageTemplateFile('find.pt')
-        
+
     def findByIds(self, ids):
         """Do a find for the ids listed in ids, which is a string.
         """
@@ -45,8 +46,7 @@
             url = str(getView(object, 'absolute_url', request))
             result.append({ 'id': id, 'url': url})
         return result
-    
-from zope.proxy.context import getInnerWrapperData
+
 
 # XXX get the id of an object (should be imported from somewhere)
 def getId(object):