r13669 - MoreFieldsAndWidgets/archetypes.querywidget/trunk/archetypes/querywidget
"Roel Bruggink" <[email protected]> Fri, 03 Jun 2011 14:46:36 +0000
| Newsgroups | gmane.comp.web.zope.plone.archetypes.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: jaroel
Date: Fri Jun 3 14:46:36 2011
New Revision: 13669
Modified:
MoreFieldsAndWidgets/archetypes.querywidget/trunk/archetypes/querywidget/field.py
Log:
Remove unnecessary code
Modified: MoreFieldsAndWidgets/archetypes.querywidget/trunk/archetypes/querywidget/field.py
==============================================================================
--- MoreFieldsAndWidgets/archetypes.querywidget/trunk/archetypes/querywidget/field.py (original)
+++ MoreFieldsAndWidgets/archetypes.querywidget/trunk/archetypes/querywidget/field.py Fri Jun 3 14:46:36 2011
@@ -21,20 +21,7 @@
security = ClassSecurityInfo()
- def __init__(self, name=None, **kwargs):
- """ Create QueryField instance"""
- # call super constructor
- ObjectField.__init__(self, name, **kwargs)
-
# -*- Your ATSchema to Python Property Bridges Here ... -*-
- def set(self, instance, value, **kwargs):
- """
- The passed in object should be a records object, or a sequence of
- dictionaries
- """
-
- ObjectField.set(self, instance, value, **kwargs)
-
def get(self, instance, **kwargs):
"""Get the query dict from the request or from the object"""
raw = kwargs.get('raw', None)
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2