[Zope3-checkins] CVS: Zope3/src/zope/app/browser - rdb.py:1.1.2.2

Fred L. Drake, Jr. fred@zope.com
Tue, 24 Dec 2002 01:59:07 -0500


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

Modified Files:
      Tag: NameGeddon-branch
	rdb.py 
Log Message:
- fix & organize imports
- general cleanup, normalize whitespace


=== Zope3/src/zope/app/browser/rdb.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/rdb.py:1.1.2.1	Mon Dec 23 14:30:58 2002
+++ Zope3/src/zope/app/browser/rdb.py	Tue Dec 24 01:59:07 2002
@@ -11,13 +11,17 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-"""Zope database adapter test view
+"""Zope database adapter views
 
 $Id$
 """
+from zope.component import getFactory
 from zope.proxy.introspection import removeAllProxies
 from zope.publisher.browser import BrowserView
+
+from zope.app.interfaces.container import IAdding
 from zope.app.interfaces.rdb import IZopeDatabaseAdapter
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
 from zope.app.rdb import queryForResults
 
 
@@ -32,13 +36,6 @@
         return result
 
 
-"""Zope database adapter edit view
-
-$Id$
-"""
-from zope.publisher.browser import BrowserView
-from zope.app.interfaces.rdb import IZopeDatabaseAdapter
-
 class Connection(BrowserView):
 
     __used_for__ = IZopeDatabaseAdapter
@@ -54,17 +51,6 @@
     def disconnect(self):
         self.context.disconnect()
         return self.request.response.redirect(self.request.URL[-1])
-
-
-"""Zope database adapter adding view
-
-$Id$
-"""
-from Zope.App.PageTemplate import ViewPageTemplateFile
-from zope.component import getFactory
-
-from zope.publisher.browser import BrowserView
-from zope.app.interfaces.container import IAdding
 
 
 class AdapterAdd(BrowserView):