[Checkins] SVN: zc.form/trunk/src/zc/form/browser/mruwidget.py Take away all deprecations (except i18n:translate, where pertinent).

Gary Poster gary at zope.com
Fri Apr 28 20:22:22 EDT 2006


Log message for revision 67739:
  Take away all deprecations (except i18n:translate, where pertinent).
  

Changed:
  U   zc.form/trunk/src/zc/form/browser/mruwidget.py

-=-
Modified: zc.form/trunk/src/zc/form/browser/mruwidget.py
===================================================================
--- zc.form/trunk/src/zc/form/browser/mruwidget.py	2006-04-29 00:22:11 UTC (rev 67738)
+++ zc.form/trunk/src/zc/form/browser/mruwidget.py	2006-04-29 00:22:21 UTC (rev 67739)
@@ -25,6 +25,7 @@
 from zope.app import zapi 
 from zope.app.form.browser.source import SourceInputWidget
 from zope.schema.interfaces import ISourceQueriables, ValidationError
+import zope.annotation.interfaces
 
 import zc.resourcelibrary
 
@@ -39,7 +40,7 @@
         """
         key = self.name # TODO should the key be more specific?
         principal = self.request.principal
-        annotations = zope.app.annotation.interfaces.IAnnotations(principal)
+        annotations = zope.annotation.interfaces.IAnnotations(principal)
 
         annotation = annotations.get(self.ANNOTATION_KEY)
         if annotation is None:



More information about the Checkins mailing list