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

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


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

Modified Files:
      Tag: NameGeddon-branch
	i18nimage.py 
Log Message:
- fix & clean up imports
- general cleanup, normalize whitespace


=== Zope3/src/zope/app/browser/content/i18nimage.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/content/i18nimage.py:1.1.2.1	Mon Dec 23 14:31:04 2002
+++ Zope3/src/zope/app/browser/content/i18nimage.py	Tue Dec 24 02:16:59 2002
@@ -2,14 +2,14 @@
 #
 # 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.
-# 
+#
 ##############################################################################
 """
 Define view component for image editing.
@@ -18,8 +18,10 @@
 $Id$
 """
 
+from zope.app.browser.content.image import ImageData
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
+from zope.i18n.negotiator import negotiator
 from zope.publisher.browser import BrowserView
-from Zope.App.PageTemplate import ViewPageTemplateFile
 
 
 class I18nImageEdit(BrowserView):
@@ -51,15 +53,6 @@
         return self.request.response.redirect(self.request.URL[-1] +
                       "/editForm.html?language=%s" % language)  # XXX url_quote
 
-
-
-""" Define view component for internationalized images.
-
-$Id$
-"""
-
-from zope.app.browser.content.image import ImageData
-from zope.i18n.negotiator import negotiator
 
 class I18nImageData(ImageData):