|
|
@ -247,6 +247,14 @@ class PluginLoader:
|
|
|
|
for alias_name in ('_%s' % n for n in potential_names):
|
|
|
|
for alias_name in ('_%s' % n for n in potential_names):
|
|
|
|
# We've already cached all the paths at this point
|
|
|
|
# We've already cached all the paths at this point
|
|
|
|
if alias_name in self._plugin_path_cache:
|
|
|
|
if alias_name in self._plugin_path_cache:
|
|
|
|
|
|
|
|
if not os.path.islink(self._plugin_path_cache[alias_name]):
|
|
|
|
|
|
|
|
d = Display()
|
|
|
|
|
|
|
|
d.warning('%s has been deprecated, which means '
|
|
|
|
|
|
|
|
'it is kept for backwards compatibility '
|
|
|
|
|
|
|
|
'but usage is discouraged. The module '
|
|
|
|
|
|
|
|
'documentation details page may explain '
|
|
|
|
|
|
|
|
'more about this rationale.' %
|
|
|
|
|
|
|
|
name.lstrip('_'))
|
|
|
|
return self._plugin_path_cache[alias_name]
|
|
|
|
return self._plugin_path_cache[alias_name]
|
|
|
|
|
|
|
|
|
|
|
|
return None
|
|
|
|
return None
|
|
|
|