diff -r f2746ef237ae -r 551bd94613ac PluginApis.py --- a/PluginApis.py Sun Jun 09 17:22:07 2013 +0200 +++ b/PluginApis.py Sun Sep 29 16:03:40 2013 +0200 @@ -7,6 +7,8 @@ Module implementing the APIs plugin. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ + import os import glob @@ -17,7 +19,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "1.0.0" +version = "1.1.0" className = "PluginApis" packageName = "APIs" shortDescription = "API files for auto-completion and call tips." @@ -36,7 +38,7 @@ @return list of API filenames (list of string) """ - if language in ["Python3", "Python2"]: + if language in ["Python3", "Python2", "Python"]: apisDir = \ os.path.join(os.path.dirname(__file__), "APIs", "Python") apis = glob.glob(os.path.join(apisDir, '*.api')) @@ -63,7 +65,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super().__init__(ui) + super(PluginApis, self).__init__(ui) self.__ui = ui def activate(self):