[Zope3-checkins] CVS: Zope3/src/zope/app/browser/cache - cacheable.py:1.1.2.3

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


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

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


=== Zope3/src/zope/app/browser/cache/cacheable.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/cache/cacheable.py:1.1.2.2	Mon Dec 23 18:52:28 2002
+++ Zope3/src/zope/app/browser/cache/cacheable.py	Tue Dec 24 02:11:46 2002
@@ -16,24 +16,26 @@
 $Id$
 """
 
-from zope.app.interfaces.cache.cache import ICacheable
-from zope.app.interfaces.annotation import IAnnotatable
-from zope.app.cache.caching import getCacheForObj, getLocationForCache
-from Zope.App.PageTemplate import ViewPageTemplateFile
-from zope.publisher.browser import BrowserView
-from zope.app.form.widget import CustomWidget
-from Zope.App.Forms.Views.Browser import Widget
 from zope.component import getService, getAdapter
 from zope.proxy.context import ContextWrapper
+from zope.publisher.browser import BrowserView
 from zope.schema.interfaces import StopValidation, ValidationError, \
      ValidationErrorsAll, ConversionErrorsAll
-from zope.app.interfaces.forms import WidgetInputError
+
+from zope.app.Forms.Views.Browser import Widget
+from zope.app.cache.caching import getCacheForObj, getLocationForCache
 from zope.app.form.utility import setUpEditWidgets
+from zope.app.form.widget import CustomWidget
+from zope.app.interfaces.annotation import IAnnotatable
+from zope.app.interfaces.cache.cache import ICacheable
+from zope.app.interfaces.forms import WidgetInputError
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
+
 
 class CacheableView(BrowserView):
 
     __used_for__ = IAnnotatable
-    
+
     form = ViewPageTemplateFile("edit.pt")
 
     def __init__(self, *args):
@@ -64,7 +66,3 @@
         else:
             self.cachable.setCacheId(cacheId)
             return self.form(message="Saved changes.")
-
-
-
-