Changed ColorWidget interfaces declaration ZTK-1.1
authorThierry Florac <tflorac@ulthar.net>
Thu, 12 Jul 2012 10:30:54 +0200
branchZTK-1.1
changeset 162 2537855e0f97
parent 161 33b95dfd6142
child 163 d07844bfe41d
Changed ColorWidget interfaces declaration
src/ztfy/utils/browser/color.py
--- a/src/ztfy/utils/browser/color.py	Wed Jul 04 13:40:21 2012 +0200
+++ b/src/ztfy/utils/browser/color.py	Thu Jul 12 10:30:54 2012 +0200
@@ -26,7 +26,7 @@
 from z3c.form.browser.text import TextWidget
 from z3c.form.widget import FieldWidget
 from zope.component import adapter
-from zope.interface import implementer, implementsOnly
+from zope.interface import implementer, implements
 
 # import local packages
 from ztfy.jqueryui import jquery_colorpicker
@@ -39,7 +39,7 @@
 class ColorWidget(TextWidget):
     """Color widget"""
 
-    implementsOnly(IColorWidget)
+    implements(IColorWidget)
 
     def update(self):
         TextWidget.update(self)