Re: [Zope] Acquisition not working as expected
1 Mar
2006
1 Mar
'06
1:52 p.m.
Andrew Milton schrieb:
Did you paste this code, because it has errors...
Ahh sorry, I missed the last charakter, a ")". Here it is again: def genId(self,context): "asdf" items = [ int(e[2:]) for e in context.objectIds('Folder') ] if items == []: return 'lt100000' return 'lt%s' % str(max(items)+1) Greetings Roman
7340
Age (days ago)
7340
Last active (days ago)
0 comments
1 participants
participants (1)
-
Roman Klesel