Skip to content

Commit f534fbb

Browse files
author
borysiasty
committed
Plugin Installer fix (prevent some depreciation warnings)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13087 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 01fc3fb commit f534fbb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/plugins/plugin_installer/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def name():
1515
return "Plugin Installer"
1616

1717
def version():
18-
return "Version 1.0.8"
18+
return "Version 1.0.9"
1919

2020
def description():
2121
return "Downloads and installs QGIS python plugins"

python/plugins/plugin_installer/installer_data.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,9 @@ def getInstalledPlugin(self, key, readOnly):
587587
try:
588588
exec ("%s.classFactory(iface)" % key)
589589
except Exception, error:
590-
error = error.message
590+
error = unicode(error.args[0])
591591
except Exception, error:
592-
error = error.message
592+
error = unicode(error.args[0])
593593

594594
if not nam:
595595
nam = key

0 commit comments

Comments
 (0)