Re: [Zope] getSize()? was [Zope] Zope 2.2 beta 1 released

2000-06-14 Thread Shane Hathaway

Wolfgang Strobl wrote:
 
 On 12 Jun 2000, 17:36  Brian Lloyd wrote:
 
  Zope 2.2.0 beta 1 has been released - you can download it from
 ...
 
 After noticing that ZWiki throws an Attribute Error / getSize in
 RecentChanges, I tried a simple
 
dtml-var "index_html.getSize()"
 
 This works in 2.1.6, but throws the aforementioned exception in
 2.2b1, too. Is this a bug or a feature?

It's been changed to "get_size()".  I don't know whether that would be
a bug or a feature. ;-)

Shane

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] getSize()? was [Zope] Zope 2.2 beta 1 released

2000-06-14 Thread Brian Lloyd

  After noticing that ZWiki throws an Attribute Error / getSize in
  RecentChanges, I tried a simple
  
 dtml-var "index_html.getSize()"
  
  This works in 2.1.6, but throws the aforementioned exception in
  2.2b1, too. Is this a bug or a feature?
 
 It's been changed to "get_size()".  I don't know whether that would be
 a bug or a feature. ;-)

getSize is deprecated, but since folks are still using it I have
added the alias back in for final.

Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )