[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - package.py:1.1.2.3
Fred L. Drake, Jr.
fred@zope.com
Tue, 24 Dec 2002 09:47:36 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv22474
Modified Files:
Tag: NameGeddon-branch
package.py
Log Message:
- remove unused imports
- misc. cleanup & whitespace normalization
=== Zope3/src/zope/app/browser/services/package.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/services/package.py:1.1.2.2 Tue Dec 24 07:50:53 2002
+++ Zope3/src/zope/app/browser/services/package.py Tue Dec 24 09:47:35 2002
@@ -2,31 +2,26 @@
#
# 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.
-#
+#
##############################################################################
"""
Revision information: $Id$
"""
from zope.app.browser.container.contents import Contents
-from zope.app.interfaces.services.service \
- import IServiceManager
+from zope.app.interfaces.services.service import IServiceManager
+from zope.app.pagetemplate import ViewPageTemplateFile
+from zope.app.services.package import Package
from zope.app.services.zpt import ZPTTemplate
-from zope.publisher.browser import BrowserView
-
-from zope.app.pagetemplate import ViewPageTemplateFile
-from zope.app.interfaces.container import IContainer
-from zope.component import queryView, getView
-
class ViewPackageContents(Contents):
__used_for__ = IServiceManager
@@ -37,23 +32,6 @@
self.context.setObject(name, ZPTTemplate())
self.request.response.redirect('.')
-
-"""
-
-Revision information: $Id$
-"""
-from zope.app.browser.container.contents import Contents
-from zope.app.interfaces.services.service \
- import IServiceManager
-from zope.app.services.package import Package
-
-
-
-from zope.publisher.browser import BrowserView
-
-from zope.app.pagetemplate import ViewPageTemplateFile
-from zope.app.interfaces.container import IContainer
-from zope.component import queryView, getView
class PackagesContents(Contents):