Commit 8ff0b342 authored by Jeffrey Shell's avatar Jeffrey Shell

Fixed : results were wrapped improperly when the SQL Method was

defined in a ZClass
parent eb796dfd
......@@ -85,8 +85,8 @@
__doc__='''Generic Database adapter
$Id: DA.py,v 1.80 2000/03/17 18:59:27 jim Exp $'''
__version__='$Revision: 1.80 $'[11:-2]
$Id: DA.py,v 1.81 2000/04/19 17:50:43 jeffrey Exp $'''
__version__='$Revision: 1.81 $'[11:-2]
import OFS.SimpleItem, Aqueduct, RDB
import DocumentTemplate, marshal, md5, base64, Acquisition, os
......@@ -129,8 +129,6 @@ class SQL(cDocument, nvSQL):
pass
class DA(
Aqueduct.BaseQuery,Acquisition.Implicit,
Globals.Persistent,
......@@ -419,6 +417,8 @@ class DA(
if hasattr(self, 'aq_parent'):
p=self.aq_parent
if self._isBeingAccessedAsZClassDefinedInstanceMethod():
p=p.aq_parent
else: p=None
argdata=self._argdata(REQUEST)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment