Sorry guys but this one has taken a bit too long to resolve:

iface.pluginManagerInterface().pluginMetadata(u"name")

returns None

iface.pluginManagerInterface().pluginMetadata(u"general.name")

returns None

The fall back is of course something like this:

        self.metadata = ConfigParser()
        self.metadata.read(os.path.join(self.plugin_dir,'metadata.txt'))

But then that's cheating a bit ....



_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to