src/ztfy/utils/interfaces.py
branchZTK-1.1
changeset 179 612a350cc660
parent 177 b9ad5a9614c4
child 233 6c087119379d
--- a/src/ztfy/utils/interfaces.py	Tue Oct 16 08:17:49 2012 +0200
+++ b/src/ztfy/utils/interfaces.py	Thu Oct 18 23:43:15 2012 +0200
@@ -23,7 +23,7 @@
 # import local interfaces
 
 # import Zope3 packages
-from zope.interface import Interface
+from zope.interface import Interface, Attribute
 from zope.schema import TextLine, Int, Password, Bool
 
 # import local packages
@@ -189,6 +189,8 @@
                            required=True,
                            default=False)
 
+    connection = Attribute(_("Opened ZEO connection"))
+
     def getSettings(self):
         """Get ZEO connection setting as a JSON dict"""