eric6/PluginManager/PluginExceptions.py

branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6942
2602857055c5
child 7229
53054eb5b15a
equal deleted inserted replaced
7191:960850ec284c 7192:a22eee00b052
141 self._errorMessage = \ 141 self._errorMessage = \
142 QCoreApplication.translate( 142 QCoreApplication.translate(
143 "PluginError", 143 "PluginError",
144 "The plugin class {0} of module {1} is missing {2}.")\ 144 "The plugin class {0} of module {1} is missing {2}.")\
145 .format(class_, name, missing) 145 .format(class_, name, missing)
146
147
148 class PluginPy2IncompatibleError(PluginError):
149 """
150 Class defining an error raised, when the plugin is incompatible
151 with Python2.
152 """
153 def __init__(self, name):
154 """
155 Constructor
156
157 @param name name of the plugin module (string)
158 """
159 self._errorMessage = \
160 QCoreApplication.translate(
161 "PluginError",
162 "The plugin module {0} is not compatible with Python2.")\
163 .format(name)

eric ide

mercurial