[QGIS Commit] r15832 - trunk/qgis/python/plugins/plugin_installer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Apr 27 10:33:12 EDT 2011
Author: borysiasty
Date: 2011-04-27 07:33:11 -0700 (Wed, 27 Apr 2011)
New Revision: 15832
Modified:
trunk/qgis/python/plugins/plugin_installer/__init__.py
trunk/qgis/python/plugins/plugin_installer/installer_data.py
Log:
plugin installer: do not consider an empty repo as invalid
Modified: trunk/qgis/python/plugins/plugin_installer/__init__.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/__init__.py 2011-04-27 07:56:29 UTC (rev 15831)
+++ trunk/qgis/python/plugins/plugin_installer/__init__.py 2011-04-27 14:33:11 UTC (rev 15832)
@@ -15,7 +15,7 @@
return "Plugin Installer"
def version():
- return "Version 1.2"
+ return "Version 1.2.1"
def description():
return "Downloads and installs QGIS python plugins"
Modified: trunk/qgis/python/plugins/plugin_installer/installer_data.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/installer_data.py 2011-04-27 07:56:29 UTC (rev 15831)
+++ trunk/qgis/python/plugins/plugin_installer/installer_data.py 2011-04-27 14:33:11 UTC (rev 15832)
@@ -436,11 +436,8 @@
if QGIS_VER[0]==qgisMinimumVersion[0] or (qgisMinimumVersion!="0" and qgisMaximumVersion!="2"): # to be deleted
#add the plugin to the cache
plugins.addFromRepository(plugin)
- self.mRepositories[reposName]["state"] = 2
- else:
- #print "Repository parsing error"
- self.mRepositories[reposName]["state"] = 3
- self.mRepositories[reposName]["error"] = QCoreApplication.translate("QgsPluginInstaller","Couldn't parse output from the repository")
+ # set state=2, even if the repo is empty
+ self.mRepositories[reposName]["state"] = 2
self.emit(SIGNAL("repositoryFetched(QString)"), reposName )
More information about the QGIS-commit
mailing list