Andrey Bondarenko | 2 Jun 13:00
Picon

FileEntry does not overide getMetadataKeys

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

Gmane