Skip to content
Permalink
Browse files
Plugin Installer polishing
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@9821 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Dec 16, 2008
1 parent 22dca2d commit 9bd93065ea6c3fc9595a15e88221f3e8f3c9f07e
Showing with 4 additions and 4 deletions.
  1. +1 −1 python/plugins/plugin_installer/__init__.py
  2. +3 −3 python/plugins/plugin_installer/installer_data.py
@@ -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 @@ def xmlDownloaded(self,nr,state):
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 @@ def xmlDownloaded(self,nr,state):
"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" : "",

0 comments on commit 9bd9306

Please sign in to comment.