mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Plugin Installer polishing
git-svn-id: http://svn.osgeo.org/qgis/trunk@9822 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
06feba0126
commit
ecd1de0dcd
@ -14,7 +14,7 @@ def name():
|
||||
return "Plugin Installer"
|
||||
|
||||
def version():
|
||||
return "Version 0.9.5"
|
||||
return "Version 0.9.6"
|
||||
|
||||
def description():
|
||||
return "Downloads and installs QGIS python plugins"
|
||||
|
@ -304,8 +304,8 @@ class Repositories(QObject):
|
||||
pluginNodes = reposXML.elementsByTagName("pyqgis_plugin")
|
||||
if pluginNodes.size():
|
||||
for i in range(pluginNodes.size()):
|
||||
name = QFileInfo(pluginNodes.item(i).firstChildElement("download_url").text().trimmed()).fileName()
|
||||
name.chop(4)
|
||||
fileName = QFileInfo(pluginNodes.item(i).firstChildElement("download_url").text().trimmed()).fileName()
|
||||
name = fileName.section(".", 0, 0)
|
||||
name = str(name)
|
||||
plugin = {}
|
||||
plugin[name] = {
|
||||
@ -316,7 +316,7 @@ class Repositories(QObject):
|
||||
"author" : pluginNodes.item(i).firstChildElement("author_name").text().trimmed(),
|
||||
"homepage" : pluginNodes.item(i).firstChildElement("homepage").text().trimmed(),
|
||||
"url" : pluginNodes.item(i).firstChildElement("download_url").text().trimmed(),
|
||||
"filename" : pluginNodes.item(i).firstChildElement("file_name").text().trimmed(),
|
||||
"filename" : fileName,
|
||||
"status" : "not installed",
|
||||
"error" : "",
|
||||
"error_details" : "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user