Re: FileEntry does not overide getMetadataKeys

will <[email protected]> Tue, 02 Jun 2009 09:20:39 -0400
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
What version of PyBlosxom are you using that this is an issue for?

Andrey Bondarenko wrote:
> Hi,
> 
> I have found that FileEntry does not override getMetadataKeys
> inherited from BaseEntry. I think it is a bug. If you try to 
> iterate over entry keys without accessing some entry item
> first, you will get only small portion of keys available for
> the entry.
> 
> The following method implementation fixes the issue for me.
> 
>     def getMetadataKeys(self):
>        if self._populated_data == 0:
>             self.__populatedata()
> 
>         return base.EntryBase.getMetadataKeys(self)
> 
> 
> Thanks,
> Andrey 
> 
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
> looking to deploy the next generation of Solaris that includes the latest 
> innovations from Sun and the OpenSource community. Download a copy and 
> enjoy capabilities such as Networking, Storage and Virtualization. 
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Pyblosxom-devel mailing list
> Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
> 

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get