Leonardo Rochael Almeida wrote:
-obj = self.aq_parent.unrestrictedTraverse(self.getpath(rid))
-if not obj:
+obj = self.aq_parent.unrestrictedTraverse(self.getpath(rid), None)
+if obj is None:
Please revert this change. You've changed the semantics of this
Em Sex, 2006-11-17 às 07:48 +, Chris Withers escreveu:
Leonardo Rochael Almeida wrote:
[]
This is the full method before my changes:
def getobject(self, rid, REQUEST=None):
Return a cataloged object given a 'data_record_id_'
obj =
Hi Chris,
Em Qui, 2006-11-16 às 07:33 +, Chris Withers escreveu:
Leonardo Rochael Almeida wrote:
@@ -615,8 +615,8 @@
def getobject(self, rid, REQUEST=None):
Return a cataloged object given a 'data_record_id_'
-obj =