[QGIS Commit] r13087 - trunk/qgis/python/plugins/plugin_installer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 19 12:18:23 EDT 2010


Author: borysiasty
Date: 2010-03-19 12:18:22 -0400 (Fri, 19 Mar 2010)
New Revision: 13087

Modified:
   trunk/qgis/python/plugins/plugin_installer/__init__.py
   trunk/qgis/python/plugins/plugin_installer/installer_data.py
Log:
Plugin Installer fix (prevent some depreciation warnings)

Modified: trunk/qgis/python/plugins/plugin_installer/__init__.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/__init__.py	2010-03-19 15:24:04 UTC (rev 13086)
+++ trunk/qgis/python/plugins/plugin_installer/__init__.py	2010-03-19 16:18:22 UTC (rev 13087)
@@ -15,7 +15,7 @@
   return "Plugin Installer"
 
 def version():
-  return "Version 1.0.8"
+  return "Version 1.0.9"
 
 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	2010-03-19 15:24:04 UTC (rev 13086)
+++ trunk/qgis/python/plugins/plugin_installer/installer_data.py	2010-03-19 16:18:22 UTC (rev 13087)
@@ -587,9 +587,9 @@
       try:
         exec ("%s.classFactory(iface)" % key)
       except Exception, error:
-        error = error.message
+        error = unicode(error.args[0])
     except Exception, error:
-      error = error.message
+      error = unicode(error.args[0])
 
     if not nam:
       nam = key



More information about the QGIS-commit mailing list